PatchSiren cyber security CVE debrief
CVE-2026-77474 Dicklesworthstone CVE debrief
CVE-2026-77474 debrief: A vulnerability in destructive_command_guard (dcg) allows a crafted command to hang dcg and bypass the guard via hook-timeout fail-open. The vulnerability is caused by exponential-time command-substitution preprocessing in dcg, which can be triggered by a destructive command followed by nested or unclosed $( or $(( sequences. This issue is fixed in version 0.6.6. Defenders and users of dcg versions prior to 0.6.6 should assess exposure and upgrade to version 0.6.6 or later.
- Vendor
- Dicklesworthstone
- Product
- destructive_command_guard
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-16
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-10-16
- Advisory updated
- 2026-10-19
Who should care
Defenders and users of dcg versions prior to 0.6.6 should assess exposure and upgrade to version 0.6.6 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who use or manage dcg. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
Why it matters
A vulnerability in destructive_command_guard (dcg) allows a crafted command to hang dcg and bypass the guard via hook-timeout fail-open, fixed in version 0.6.6.
- Possible command bypass via crafted input
- Denial of service via resource exhaustion
Technical summary
The vulnerability is caused by exponential-time command-substitution preprocessing in dcg, which can be triggered by a destructive command followed by nested or unclosed $( or $(( sequences. This allows the destructive command to proceed. The affected scanners are reached through split_command_segments in src/packs/mod.rs. This issue is fixed in version 0.6.6. Defenders should prioritize assessing exposure and upgrading to version 0.6.6 or later. The vulnerability can be mitigated by reviewing compensating controls for exposed systems while remediation is scheduled and verified.
Defensive priority
Defenders should prioritize assessing exposure and upgrading to version 0.6.6 or later.
Recommended defensive actions
- Assess exposure by checking if using dcg versions prior to 0.6.6
- Upgrade to dcg version 0.6.6 or later
- Monitor for suspicious commands
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by exponential-time command-substitution preprocessing in dcg, which can be triggered by a destructive command followed by nested or unclosed $( or $(( sequences. The affected scanners are reached through split_command_segments in src/packs/mod.rs. A destructive command followed by nested or unclosed $( or $(( sequences causes 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-77474 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-77474
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-77474 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-77474
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
dcg: Exponential-time command-substitution preprocessing lets a crafted command hang dcg and byp
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/77xxx/CVE-2026-77474.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/Dicklesworthstone/destructive_command_guard/security/advisories/GHSA-4cfr-w3v5-w5j5
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/Dicklesworthstone/destructive_command_guard/issues/189
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/Dicklesworthstone/destructive_command_guard/commit/ba16bdd074b045329dc0ca6ec9a08c44403cfe1b
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/Dicklesworthstone/destructive_command_guard/releases/tag/v0.6.6
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.