GHSA-5c2f-7vp3-pm3x
HestiaCP versions before 1.9.5 have an authenticated OS command injection vulnerability. Low-privilege authenticated users can exploit insufficient input validation in DNS record handling to execute arbitrary commands as root. This occurs via injection of a single-quote character into unvalidated DNS record types, leveraging unsafe eval-based parsing. The vulnerability allows full root code execution on the host in a single DNS record creation step.
AI Analysis
Technical Summary
The vulnerability in HestiaCP prior to version 1.9.5 arises from improper input validation in the function is_dns_record_format_valid() combined with unsafe use of eval in update_domain_zone(). An attacker with low-privilege authenticated access can inject a single-quote character into DNS record types, prematurely closing a variable assignment string. This leads to arbitrary command execution as root on the underlying host. The issue is categorized as CWE-78 (OS Command Injection). No patch or remediation details are provided in the input data.
Potential Impact
Successful exploitation allows low-privilege authenticated users to execute arbitrary commands with root privileges on the host running HestiaCP. This can lead to full system compromise, unauthorized access, data theft, or disruption of services. The vulnerability is high severity due to the privilege escalation and root-level code execution it enables.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to authenticated users and monitor for suspicious DNS record creation activities. Avoid exposing HestiaCP interfaces to untrusted users.
GHSA-5c2f-7vp3-pm3x
Description
HestiaCP versions before 1.9.5 have an authenticated OS command injection vulnerability. Low-privilege authenticated users can exploit insufficient input validation in DNS record handling to execute arbitrary commands as root. This occurs via injection of a single-quote character into unvalidated DNS record types, leveraging unsafe eval-based parsing. The vulnerability allows full root code execution on the host in a single DNS record creation step.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HestiaCP prior to version 1.9.5 arises from improper input validation in the function is_dns_record_format_valid() combined with unsafe use of eval in update_domain_zone(). An attacker with low-privilege authenticated access can inject a single-quote character into DNS record types, prematurely closing a variable assignment string. This leads to arbitrary command execution as root on the underlying host. The issue is categorized as CWE-78 (OS Command Injection). No patch or remediation details are provided in the input data.
Potential Impact
Successful exploitation allows low-privilege authenticated users to execute arbitrary commands with root privileges on the host running HestiaCP. This can lead to full system compromise, unauthorized access, data theft, or disruption of services. The vulnerability is high severity due to the privilege escalation and root-level code execution it enables.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to authenticated users and monitor for suspicious DNS record creation activities. Avoid exposing HestiaCP interfaces to untrusted users.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5c2f-7vp3-pm3x
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-30007"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a520eae68715ace438f4b59
Added to database: 07/11/2026, 09:36:46 UTC
Last enriched: 07/11/2026, 09:47:21 UTC
Last updated: 07/11/2026, 19:47:26 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.