Skip to main content

h-ui CVE-2026-107202

| EUVDEUVD-2026-94361 CRITICAL
Command Injection (CWE-77)
2026-10-07 certcc GHSA-qrj2-qqx7-wqxq
9.1
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain/authenticate admin API access
  2. Exploit
    Submit listen field with shell metacharacters
  3. Execution
    Injected string passed to bash -c as root
  4. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

h-ui 0.0.25

Affected Packages

euvd h_ui no fix

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

Vendor (certcc) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Oct 07, 2026 - 21:23 NVD
9.1 (CRITICAL)
CVE Published
Oct 07, 2026 - 14:26 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 07, 2026 - 14:26 cve.org
CRITICAL 9.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Low
niche open-source Hysteria/proxy management panel, small self-hosted footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy