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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-10 · Modified: 2026-11-08
- Record: https://cvemate.com/vulnerability/CVE-2025-30007 · JSON: https://cvemate.com/vulnerability/CVE-2025-30007/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.986%, percentile 81.298%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hestiacp control\_panel: \< 1.9.5
- hestiacp hestiacp: \< 1.9.5

## References

- <https://github.com/hestiacp/hestiacp/releases/tag/1.9.5>
- <https://github.com/hestiacp/hestiacp/pull/5197>
- <https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67>
- <https://www.vulncheck.com/advisories/hestiacp-authenticated-os-command-injection-via-dns-record-management>

---

Data as of 2026-12-05T11:51:07.351Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
