Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain/authenticate admin API access
-
ExploitSubmit listen field with shell metacharacters
-
ExecutionInjected string passed to bash -c as root
-
ImpactArbitrary OS commands execute with root privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access to the h-ui administrative API and the ability to set the 'listen' configuration field, which lacks port/format validation; the attacker supplies a value containing shell metacharacters that h-ui interpolates via fmt.Sprintf into an nftables/iptables rule string and executes with bash -c as root. Limiting factors: valid administrator authentication is mandatory (despite the input vector's PR:N), and the affected deployment must be running h-ui v0.0.25 or earlier. The key mitigating factor is the admin-credential prerequisite, so realistic risk concentrates on multi-operator or weakly-secured panels; the aggravating factor is that successful injection runs as root, giving full host compromise. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores this 9.1 and implies remote unauthenticated exploitation, but this directly CONFLICTS with the description, which states exploitation requires 'an authenticated administrator' submitting the malicious value through the administrative API. This is a significant discrepancy: PR:N (no privileges) in the vector cannot be reconciled with an explicitly authenticated administrative action - the vector should almost certainly be PR:H, which meaningfully lowers real-world risk since an attacker must already possess admin credentials. Additionally, the vector sets A:N (no availability impact) despite the flaw yielding arbitrary OS command execution as root, which would normally carry full C/I/A impact. No EPSS score, KEV listing, or proof-of-concept was supplied in the intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the CWE-77 command-injection pattern via fmt.Sprintf into bash -c is well understood and easy to weaponize once admin access exists, but the authentication prerequisite makes this a post-authentication privilege/impact escalation rather than a wormable, widespread threat. Net: a genuinely severe technical impact (root code execution) gated behind administrative authentication, so priority is high only for environments where admin access is shared, weakly protected, or where lower-trust operators manage the panel. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has obtained admin credentials or hijacked an admin session) submits a 'listen' configuration value containing shell metacharacters through the h-ui admin API. The application interpolates this value into an nftables/iptables rule string with fmt.Sprintf and runs it via bash -c as root, so the injected commands execute with root privileges. No public proof-of-concept was provided, but the flaw is trivially exploitable given the missing port/format validation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Command injection in h-ui v0.0.25 and earlier allows an authenticated administrator to execute arbitrary OS commands as root by supplying shell metacharacters in the 'listen' configuration field of the administrative API. Because the application builds nftables/iptables rule strings with fmt.Sprintf and runs them through bash -c with root privileges, a successful injection yields full host compromise with high confidentiality, integrity, and availability impact. Exploitation requires valid administrative credentials plus the ability to set the listen field, so realistic risk concentrates on multi-operator or weakly-secured panels; no public exploit code or confirmed active exploitation was identified at time of analysis, and no vendor-released patch has been identified.
RemediationAI
No vendor-released patch has been identified at time of analysis, so remediation must rely on compensating controls until an upstream fix is available. Immediately restrict access to the h-ui administrative API and panel port to trusted management networks or a VPN, and place it behind authentication-aware reverse-proxy rules (this blocks remote attack paths but does not stop a malicious or compromised admin). Because the injection fires only when the 'listen' configuration is set, avoid modifying the listen field through the UI; where firewall rules must be managed, pre-define them outside h-ui and treat the panel's rule editor as read-only. Run h-ui with least privilege instead of full root, granting only CAP_NET_ADMIN to a dedicated service account (this limits post-exploitation impact but may break nftables/iptables operations that require broader privileges), or run it in a container with a restricted network namespace. Add a reverse-proxy/WAF or input-validation shim that rejects any listen value containing non-numeric or shell metacharacters before it reaches the API. Audit and minimize administrator accounts, rotate admin credentials, and monitor host logs for suspicious bash -c invocations, nft/iptables command construction, or unexpected child processes spawned by the h-ui service. Track https://github.com/jonssonyan/h-ui and https://nvd.nist.gov/vuln/detail/CVE-2026-107202 for a fixed release and upgrade as soon as one is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the h-ui administrative panel (CPE cpe:2.3:a:jonssonyan:h-ui:*:*:*:*:*:*:*:*), an open-source management front end maintained at https://github.com/jonssonyan/h-ui and tracked in ENISA EUVD as EUVD-2026-94361, with the affected version listed as 0.0.25. Root cause class is CWE-77 (Improper Neutralization of Special Elements used in a Command / command injection): the 'listen' configuration value is taken from the admin API without port or format validation, interpolated into an nftables/iptables rule string using fmt.Sprintf, and then executed via bash -c as root. The lack of a strict numeric/interface allowlist means shell metacharacters survive into the command line and are interpreted by the shell rather than treated as data. Note a significant scoring discrepancy: the supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1) implies remote unauthenticated exploitation and omits availability impact, which contradicts the description's explicit requirement of an authenticated administrator. Our assessment adopts CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (authenticated, high availability impact), and any risk scoring should use the authenticated prerequisite rather than the PR:N vector.
Know when H Ui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Admin API over network gives AV:N/AC:L, but the required authenticated administrator forces PR:H; root command execution yields full C:H/I:H/A:H with scope unchanged as h-ui already runs as root.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
Organizations running h-ui v0.0.25 or earlier are exposed to a critical command-injection flaw in the administrative API that allows arbitrary operating-system commands to be executed as root, meaning a single administrative account can be leveraged to seize the entire host rather than just the panel. Exposure is concentrated in multi-operator or lightly governed deployments where administrative access is broadly shared or weakly protected, and the resulting blast radius spans confidentiality, integrity, and availability of the underlying system. No vendor-released patch has been identified and no public exploit code has been identified at time of analysis, so near-term risk must be managed through access restriction and monitoring.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict administrative API reachability to trusted networks or VPN only, enforce least-privilege operator accounts with MFA and unique credentials, reject shell metacharacters in the 'listen' field at an authenticating reverse proxy or WAF, run the h-ui service as a non-root user in a hardened container with dropped capabilities, and monitor host logs for unexpected command execution by the h-ui process.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-94361
GHSA-qrj2-qqx7-wqxq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB