CVE-20XX-?

CVE-2026-77474

7.1 HIGH 0.1% exploit odds Fix listed Denial of service

What it is

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.

At a glance

Exploitability
Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data tampering, service disruption.
Exploit odds
0.1% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.1% · EPSS, next 30 days
Weakness
CWE-400 · Uncontrolled resource consumption
Record status
Deferred

Attack profile CVSS 3.1 · 7.1

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
Raw vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Meme: I wake up, CVE-2026-77474
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record