Skip to main content
CVE-2026-40034VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-40034· High 7.3

Not known to be exploited · CVSS 7.3 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.3
CNA (VulnCheck)CVSS 3.17.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:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 26 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CISA SSVC: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by VulnCheck

    , 48 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. 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

ProductAffectedFixed in
Ubuntu 26.10rust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=stonkingOther threatsAffected
  • =0.73.0-1
  • =0.83.0-2
Fixed in–
Ubuntu 26.10rust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=stonkingOther threatsAffected
  • =0.20.0-1
  • =0.30.0-1
Fixed in–
Ubuntu 26.04 LTSrust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=resoluteOther threatsAffected
  • 0.69.1-1 – 0.73.0-1build1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSrust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=resoluteOther threatsAffected
  • =0.16.0-1
  • =0.20.0-1
Fixed in–
Ubuntu 25.10rust-gixpkg:deb/ubuntu/rust-gix?arch=source&distro=questingOther threatsAffected
  • =0.69.1-1
Fixed in–
Ubuntu 25.10rust-gix-submodulepkg:deb/ubuntu/rust-gix-submodule?arch=source&distro=questingOther threatsAffected
  • =0.16.0-1
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

Community reviews

Loading reviews…