{"id":"CVE-2025-30007","published":"2026-07-10T17:50:33Z","modified":"2026-11-08T14:00:12Z","title":"HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management","vendor":"hestiacp","product":"hestiacp","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03242,"percentile":0.88612,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/hestiacp/hestiacp/releases/tag/1.9.5","tags":["release-notes"]},{"url":"https://github.com/hestiacp/hestiacp/pull/5197","tags":["issue-tracking","patch"]},{"url":"https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/hestiacp-authenticated-os-command-injection-via-dns-record-management","tags":["third-party-advisory"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":17.72},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"hestiacp","affectedVersions":[{"vendor":"hestiacp","product":"hestiacp","versions":["< 1.9.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-13T18:26:22.196644Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-210452","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hestiacp-hestiacp-cve-2022-1509","parents":[{"from":"CVE-2022-1509","to":"CVE-2025-30007","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bin/v-add-dns-record","func/main.sh"],"commits":["https://github.com/hestiacp/hestiacp/commit/d50f95cf208049dfb6ac67a8020802121745bd60","https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67"],"basis":"shared function","functions":["is_dbuser_format_valid"]}]},{"from":"CVE-2021-30070","to":"CVE-2025-30007","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["func/main.sh"],"commits":["https://github.com/hestiacp/hestiacp/commit/9a1fccd37f2842fdf96ffb48895c4bfa9788c469","https://github.com/hestiacp/hestiacp/commit/27556a9a43aeaf308b33be224c2e70f2011574e6","https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67"],"basis":"rarely changed file"}]}]}}