RCE in Gitoxide
CVE-2026-40034
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 initiali…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.004 (27.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Gitoxide — versions 0.82.0, 0.5.21, 0
- Gitoxide Gix — versions 0, 0.84.0
- Gitoxide Gix-submodule — versions 0, 0.29.0
Weakness classification (CWE)
References
- GHSA Advisory GHSA-f26g-jm89-4g65 (vendor-advisory)
- https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0 (patch)
- https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc (patch)
- Anthropic CVD Finding ANT-2026-6SNS6KMP (third-party-advisory)
- VulnCheck Advisory: gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule (third-party-advisory)
Frequently asked questions
- What is CVE-2026-40034?
- CVE-2026-40034 is a high-severity vulnerability in Gitoxide, classified under Command Injection. CVSS score: 7.8/10. Published 2026-05-26.
- How severe is CVE-2026-40034?
- High severity. CVSS v3 base score is 7.8 out of 10.