ZeroDay Brief
CVE-2026-77474

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…

CVSS
7.1High
Chance of exploitation (EPSS)
0.12%
Published
Oct 16, 2026
In the news
Not yet
More from this vendor

What to do

A serious resource exhaustion flaw in Dicklesworthstone Destructive Command Guard that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Dicklesworthstone Destructive Command Guard
< 0.6.6

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.

CWE-400CWE-407CWE-693

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-77474 published (CVSS 7.1) (Oct 16, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Oct 16, 2026

  1. CVECVE-2026-77474 published (CVSS 7.1)CVE Program · 17:17 UTC

References 4

  • github.com /Dicklesworthstone/destructive_command_guard/commit/ba16bdd074b045329dc0ca6ec9a08c44403cfe1b
  • github.com /Dicklesworthstone/destructive_command_guard/issues/189
  • github.com /Dicklesworthstone/destructive_command_guard/releases/tag/v0.6.6
  • github.com /Dicklesworthstone/destructive_command_guard/security/advisories/GHSA-4cfr-w3v5-w5j5

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”