Skip to main content
VulnerabilityPublished Updated

CVE-2026-40034: gitoxide · Command Injection

Affects gitoxideSource CVE Database V5

0
Compare

Public exploit available · CVSS 7.3 High : upgrade to 0.5.21 as a priority.

Data as of 8 Nov 2026, 14:19 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
CISA SSVC
Exploitation
Proof of concept is public or traded
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-05-26.

Patch
Available – fixed in 0.5.21, 0.29.0, 0.84.0
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 8 Nov 2026.

What to do

Upgrade gitoxide to 0.5.21; gix-submodule to 0.29.0; gix to 0.84.0.

Affected software

ProductAffectedFixed in
gitoxidegitoxideAffected
  • <0.5.21
Fixed in
  • 0.5.21
gitoxidegix-submoduleAffected
  • <0.29.0
Fixed in
  • 0.29.0
gitoxidegixAffected
  • <0.84.0
Fixed in
  • 0.84.0
crates.iogitoxidepkg:cargo/gitoxideOther threatsAffected
  • <0.5.21
Fixed in
  • 0.5.21
crates.iogix-submodulepkg:cargo/gix-submoduleOther threatsAffected
  • <0.29.0
Fixed in
  • 0.29.0
crates.iogixpkg:cargo/gixOther threatsAffected
  • <0.84.0
Fixed in
  • 0.84.0

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…