Security advisory
A command injection vulnerability exists in the h-ui (version v0.0.25 and below) administrative API due to improper validation of the listen configuration field. When an authenticated administrator submits a value containing shell metacharacters, the application constructs nftables/iptables rule strings using fmt.Sprintf and executes them via bash -c as root. Because the listen field lacks port or format validation, arbitrary OS commands can be injected and executed with root privileges.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107202
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:58 UTC · Revision 1
Source evidence
A command injection vulnerability exists in the h-ui (version v0.0.25 and below) administrative API due to improper validation of the listen configuration field. When an authenticated administrator submits a value containing shell metacharacters, the application constructs nftables/iptables rule strings using fmt.Sprintf and executes them via bash -c as root. Because the listen field lacks port or format validation, arbitrary OS commands can be injected and executed with root privileges.
osv:CVE-2026-107202
Complete source record
{
"id": "91bb4e21fee587298a2ffac5ce9a2fddd6772692b2c6b878fb4953c7c76e941b",
"url": "https://osv.dev/vulnerability/CVE-2026-107202",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-107202",
"summary": "A command injection vulnerability exists in the h-ui (version v0.0.25 and below) administrative API due to improper validation of the listen configuration field. When an authenticated administrator submits a value containing shell metacharacters, the application constructs nftables/iptables rule strings using fmt.Sprintf and executes them via bash -c as root. Because the listen field lacks port or format validation, arbitrary OS commands can be injected and executed with root privileges.",
"evidence": "osv:CVE-2026-107202",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-107202",
"aliases": [
"CVE-2026-107202"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jonssonyan/h-ui",
"type": "GIT",
"events": [
{
"introduced": "1ba86b63617e424393769a7f7fa452a871a268dc"
},
{
"last_affected": "1ba86b63617e424393769a7f7fa452a871a268dc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.0.25"
},
{
"last_affected": "0.0.25"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.0.25"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"0.0.25",
"v0.0.25"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107202.json"
}
}
],
"modified": "2026-10-28T02:30:43.105494441Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107202.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107202",
"https://github.com/jonssonyan/h-ui"
],
"provider_metadata": {
"cna_assigner": "certcc",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107202.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107202",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510887,
"published_at": "2026-10-07T14:26:49.905+00:00"
}