CVE-2026-77474

highpriority · track · 0EPSS 0.001 · 2 %ile
grimoire priorityP2 · Scheduled
Exploitable?
—
no known exploitation
Likely / severe?
0.12% (2nd) EPSS
CVSS 7.1 · high
Is it mine?
0 products
Check your exposure
Who says so?
— sources

EPSS · scored 2026-10-24

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.

01

cvss

Technical severity, 0–10. One row per scoring source.

7.1
010

base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.1

v3.17.1highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Hsecondary · security-advisories@github.comexploitability 1.8 · impact 5.2
v3.16.5mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H/E:Usecondary · CVSS-BT (t0sche)
02

ssvc

A stakeholder decision — act, attend, or track — from exploitation and impact.

Trackcoordinatorcisa_ssvcUS
03

weaknesses

The CWE weakness classes this flaw belongs to.

04

affected products

Products and version ranges known to be affected.

No affected products recorded.

05

sources

Which sources assert this record, and when.

published 2026-10-16modified 2026-10-19
06

references (4) nvd

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan