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.
Published: 2026-07-10
Score: 8.7 High
EPSS: 2.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

HestiaCP versions before 1.9.5 contain an authenticated OS command injection flaw (CWE-78) that permits low‑privilege users to execute arbitrary commands as root when they create or modify DNS records. The vulnerability stems from insufficient input validation in the DNS record format check combined with unsafe eval‑based parsing during zone updates, allowing a single quote that prematurely terminates a variable assignment string. An attacker who can inject such a character during DNS record creation gains full root control over the host, compromising confidentiality, integrity, and availability of all system resources.

Affected Systems

The flaw affects HestiaCP deployments running any version earlier than 1.9.5, accessed via the web based DNS record management interface. Any authenticated user with permission to create or update DNS records can trigger the vulnerability.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, while the EPSS score of 2% shows a low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a low‑privilege authenticated session, most likely through the web panel where DNS records are managed. Because the attack results in root privilege escalation, it poses a serious risk to affected hosts.

Generated by OpenCVE AI on July 29, 2026 at 10:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade HestiaCP to version 1.9.5 or later to apply the patch.
  • Restrict DNS record creation permissions to trusted administrators until the update is installed.
  • Audit all existing DNS records for injected single‑quote characters and remove them.
  • Monitor system logs for suspicious root‑level command executions.

Generated by OpenCVE AI on July 29, 2026 at 10:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Hestiacp
Hestiacp hestiacp
Vendors & Products Hestiacp
Hestiacp hestiacp

Fri, 10 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Hestiacp Hestiacp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:25:37.912Z

Reserved: 2025-03-13T17:27:08.113Z

Link: CVE-2025-30007

cve-icon Vulnrichment

Updated: 2026-07-13T18:26:36.328Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:30:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')