CVE-2025-30007
HestiaCP before 1.9.5 contains an authenticated OS command …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67
- github.com/hestiacp/hestiacp/pull/5197
- github.com/hestiacp/hestiacp/releases/tag/1.9.5
- www.vulncheck.com/advisories/hestiacp-authenticated-os-command-injection-via-dns-record-ma
- nvd.nist.gov/vuln/detail/CVE-2025-30007
- cve.org/CVERecord?id=CVE-2025-30007
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.