# CVE-2025-30007: HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.99%, higher than 81% of CVEs (2026-12-01)
- Published: 2026-07-10T17:50:33.868Z
- Modified: 2026-11-08T14:00:12.476Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- hestiacp hestiacp: before 1.9.5
- hestiacp control_panel: before 1.9.5

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/hestiacp/hestiacp/releases/tag/1.9.5> (release-notes)
- <https://github.com/hestiacp/hestiacp/pull/5197> (issue-tracking, patch)
- <https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67> (patch)
- <https://www.vulncheck.com/advisories/hestiacp-authenticated-os-command-injection-via-dns-record-management> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-30007](https://www.cve.org/CVERecord?id=CVE-2025-30007), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2025-30007](https://nvd.nist.gov/vuln/detail/CVE-2025-30007), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2025-30007 · Whole record: https://cve.day/CVE-2025-30007.json · Rebuilt by cve.day 2026-11-25T22:59:12.392Z
