CVE-2026-107202jonssonyan h-ui
Command injection in h-ui administrative API
Critical 9.1 No auth needed
Follow: this CVE · jonssonyan · jonssonyan h-ui We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 7, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
h-ui version 0.0.25 and below contains a command injection vulnerability in the administrative API due to insufficient validation of the listen configuration field. An authenticated attacker can inject shell metacharacters that execute as root via bash, allowing arbitrary OS command execution with root privileges.
Show the original NVD text
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.
What to do
No patch data
Update h-ui to a version later than 0.0.25 when available. In the meantime, restrict access to the administrative API to trusted users.
- Apply the vendor's security update for h-ui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- jonssonyan · h-ui
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.