CVE-2026-77474
Last modified
CVE-2026-77474 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. destructive_command_guard (dcg) is a command-line safety tool that blocks destructive shell commands before AI coding agents run them. Prior to 0.6.6, nested or unclosed substitutions are recursively rescanned after an inner scan returns unterminated, producing exponential-time work. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
destructive_command_guard (dcg) is a command-line safety tool that blocks destructive shell commands before AI coding agents run them. Prior to 0.6.6, nested or unclosed substitutions are recursively rescanned after an inner scan returns unterminated, producing exponential-time work. The affected scanners are reached through split_command_segments in src/packs/mod.rs. a destructive command followed by nested or unclosed $( or $(( sequences. nested or unclosed $( and $(( sequences cause repeated rescanning of the remaining command suffix. a hung PreToolUse hook fails open, allowing the destructive command to proceed. This issue is fixed in version 0.6.6.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Dicklesworthstone | destructive_command_guard | < 0.6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-77474?
How severe is CVE-2026-77474?
How do I fix CVE-2026-77474?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77465toml-node is a TOML parser for Node.js and the browser. Prio…7.5
- CVE-2026-77466Lychee is a free, open-source photo-management tool. Prior t…8.3
- CVE-2026-77467Lychee is a free, open-source photo-management tool. Prior t…7.1
- CVE-2026-77468Lychee is a free, open-source photo-management tool. Prior t…6.9
- CVE-2026-7747A security flaw has been discovered in Totolink N300RH 3.2.4…9.8
- CVE-2026-77470Lychee is a free, open-source photo-management tool. Prior t…8.3
- CVE-2026-7748A weakness has been identified in Totolink N300RH 3.2.4-B202…8.8
- CVE-2026-77480Insufficient granularity of access control in SQL Server all…8.8
- CVE-2026-77481Heap-based buffer overflow in SQL Server allows an authorize…8.8
- CVE-2026-77482Heap-based buffer overflow in SQL Server allows an unauthori…8.8
- CVE-2026-77483Weak authentication in SQL Server allows an authorized attac…8.8
- CVE-2026-77484Deserialization of untrusted data in SQL Server allows an au…8.8
Are you affected by CVE-2026-77474?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
