Cyber Resilience

CVE-2026-40034

HighPublic PoCUpdated

Published: 26 May 2026

Published
26 May 2026
Modified
17 June 2026
KEV Added
Patch
CVSS Score v4 8.5 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0035 27.1th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-40034 is a high-severity Command Injection (CWE-77) vulnerability in Anthropic (inferred from references). Its CVSS base score is 8.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Unix Shell (T1059.004); ranked at the 27.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary…

more

shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

CWE-77 command injection in .gitmodules update field directly enables arbitrary Unix shell command execution on Submodule::update().

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-60683Shared CWE-77
CVE-2025-25743Shared CWE-77
CVE-2026-41500Shared CWE-77
CVE-2025-50428Shared CWE-77
CVE-2025-59046Shared CWE-77
CVE-2026-23823Shared CWE-77
CVE-2026-49196Shared CWE-77
CVE-2026-26461Shared CWE-77
CVE-2024-32354Shared CWE-77
CVE-2025-44877Shared CWE-77

Affected Assets

Anthropic
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.

References