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

High 8.7 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2025-30007?

CVE-2025-30007 is a high-severity vulnerability in hestiacp, published on 10 Jul 2026.

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

Weakness: CWE-78

Which versions are affected by CVE-2025-30007?

It affects 1 product.

Products include Hestiacp Control Panel.

How do I fix CVE-2025-30007?

No fix has been published for CVE-2025-30007 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-30007 being exploited?

There is no known exploitation of CVE-2025-30007 in the wild and no public exploit code.

Sources

Also known as GHSA-5c2f-7vp3-pm3x.

Is CVE-2025-30007 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free