CVE-2025-30007 HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
HighCVSS 8.7
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hestiacp | < 1.9.5 | 1.9.5 | Fixed |
| hestiacp control panel | < 1.9.5 | 1.9.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hestiacp | < 1.9.5 | 1.9.5 |
| hestiacp control panel | < 1.9.5 | 1.9.5 |
References
- hestiacp 1.9.5 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2025-210452 third-party-advisory