HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
HestiaCP before 1.9.5 contains an authenticated OS command injection vulnerability that allows low-privilege authenticated users to execute arbitrary commands as root by injecting a single-quote character into unvalidated DNS record types. Attackers can exploit insufficient input validation in is_dns_record_format_valid() combined with unsafe eval-based parsing in update_domain_zone() to prematurely close a variable assignment string and achieve full root code execution on the underlying host in a single DNS record creation step.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA hestiacp (hestiacp) Fixed in 1.9.5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
hestiacp 1.9.5
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2025-21383 HestiaCP < 1.9.5 Stored XSS via DNS Record Management InterfacePriority LOW 23
Timeline
- 2026-10-02 Threatist record created from CVE-2025-30007
- 2026-10-03 Alias added: GHSA-5c2f-7vp3-pm3x
References
Patch 2
Other 1
More hestiacp Control Panel vulnerabilities
- TI-2023-05375 Privilege Chaining in hestiacp/hestiacp CVSS 3.1HIGH 7.8
- TI-2022-02355 OS Command Injection in hestiacp/hestiacp CVSS 3.1HIGH 8.8
- TI-2023-03249 Cross-site Scripting (XSS) - Reflected in hestiacp/hestiacp CVSS 3.1MEDIUM 6.1
- TI-2022-01382 Command Injection Vulnerability in hestiacp/hestiacp CVSS 3.1CRITICAL 9.9
- TI-2021-02728 Use of Wrong Operator in String Comparison in hestiacp/hestiacp CVSS 3.1CRITICAL 9.8
- TI-2022-02437 Code Injection in hestiacp/hestiacp CVSS 3.1HIGH 8.8
Sources
- CVE-2025-30007 · CVE Program
- CVE-2025-30007 · NVD
- FIRST EPSS
- GHSA-5c2f-7vp3-pm3x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences