HIGHCVSS v3.1 7.1Vulnerability
CVE-2026-77474
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.
Properties
- Severity
- HIGH
- Nvd fetched at
- 2026-10-20T21:14:08.448323+00:00
- Epss score
- 0.00124
- Cvss severity
- HIGH
- Cvss score
- 7.1
- Retrieved at
- 2026-10-21T01:24:50+00:00
- Last source
- FIRST EPSS
- Score
- 7.1
- Cvss version
- 3.1
- Cve id
- CVE-2026-77474
- Cvss vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- First seen by Signal
- 2026-10-18T13:39:03+00:00
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- Published at
- 2026-10-16T17:17:50.390
- Last modified
- 2026-10-19T13:16:58.540
- Epss percentile
- 0.01946
Related Entities (3)
HAS_WEAKNESS (3)
Explore deeper with Ninja Signal's threat intelligence graph