{
  "id": "CVE-2025-30007",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-30007",
  "published_at": "2026-07-10T17:50:33.868Z",
  "title": "HestiaCP \u003c 1.9.5 Authenticated OS Command Injection via DNS Record Management",
  "vendor": "hestiacp",
  "product": "hestiacp",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:hestiacp:control_panel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "hestiacp",
        "product": "hestiacp",
        "ranges": [
          "\u003c 1.9.5"
        ],
        "fixed_in": [
          "1.9.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hestiacp to 1.9.5 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/hestiacp/hestiacp/releases/tag/1.9.5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/hestiacp/hestiacp/pull/5197"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/hestiacp/hestiacp/commit/a74babb739aa92e52b12d6ef52b6b9428ffbbb67"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
