HighVulnerability
CVE-2026-77474: destructive_command_guard (dcg) is a command-line safety tool that blocks destructive shell commands before AI coding…
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-77474
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
destructive_command_guard (dcg), a command-line tool that blocks destructive shell commands before AI coding agents run them, is affected in versions prior to 0.6.6. Nested or unclosed $( and $(( substitutions cause the scanners reached through split_command_segments in src/packs/mod.rs to rescan the command suffix repeatedly, producing exponential-time work. A hung PreToolUse hook then fails open, letting a destructive command proceed.
Mitigation
Fixed in version 0.6.6.
Related items
- MediumCVE-2026-137476: vLLM response amplification in OpenAI-compatible API validation errorsSimilar attack · NVD/CVE Database
- MediumCVE-2026-132260: AutoGPT E2B code-execution blocks leave sandboxes running on shared credentialSimilar attack · NVD/CVE Database
- HighCVE-2026-100969: NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker could cause a NULL pointer…Similar attack · NVD/CVE Database
- HighCVE-2026-100965: NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker could cause an uncaught exception…Similar attack · NVD/CVE Database
- MediumZDI-26-1072: llama.cpp GGUF File Parsing Integer Overflow Denial-of-Service VulnerabilitySimilar attack · ZDI Published Advisories