Rust gix: gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update
Affects rust-gixSource GCVE Database
Not known to be exploited · CVSS 7.3 High.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by VulnCheck
, 48 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 52 minutes after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10rust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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 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.
References
- ubuntu.com/security/CVE-2026-40034 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40034 (opens in a new tab)
- github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0 (opens in a new tab)
- github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc (opens in a new tab)
- github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65 (opens in a new tab)
- red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP (opens in a new tab)
- vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule (opens in a new tab)