What’s Vulnerable › Vulnerabilities
CVE-2025-30007: HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-10 · updated 2026-09-29
- Weakness: CWE-78
Description
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.
Affected products
- hestiacp Control Panel: before 1.9.5 — fixed in 1.9.5
How to fix
Upgrade to a fixed version: hestiacp Control Panel 1.9.5. Check the vendor advisory for mitigations.
References
- https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67
- https://github.com/hestiacp/hestiacp/pull/5197
- https://github.com/hestiacp/hestiacp/releases/tag/1.9.5
- https://www.vulncheck.com/advisories/hestiacp-authenticated-os-command-injection-via-dns-record-management
Get alerted when CVE-2025-30007 or the next vulnerability affects your stack