8.5

CVE-2026-40034: gitoxide Command Injection

CVSS: 8.5v4.0HighDeferred
AliasesUBUNTU-CVE-2026-40034DEBIAN-CVE-2026-40034CGA-58p2-rrxc-4684
Published 26-05-2026Last modified 08-10-2026

Vulnerability summary

CVE-2026-40034 is a high (CVSS 8.5) Command Injection vulnerability in gitoxide. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 50.2% of scored vulnerabilities.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.5/10
010
High · v4.0 (NVD)
EPSS score
0.65%
0%100%
Low · +0.30 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 26-05-2026
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

11 scores · 7 sources · 2 versions

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

+0.30 pp

From 0.35% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard5 products
  • cargo-audit< 0.22.2-r0
  • cargo-c< 0.10.24-r0
  • codex< 0.149.0-r0 | < 0.148.0-r1
  • helixAll versions (No fix recorded)
  • jujutsu< 0.41.0-r0
Gitoxide3 products
Wolfi3 products
  • cargo-audit< 0.22.2-r0
  • cargo-c< 0.10.24-r0
  • helixAll versions (No fix recorded)
Opensuse2 products
  • stgit&distro=openSUSE Leap 16.0< 2.6.0-bp160.1.1
  • stgit&distro=openSUSE Tumbleweed< 2.6.0-1.1
Ubuntu2 products
  • rust-gixAll versions (No fix recorded)
  • rust-gix-submoduleAll versions (No fix recorded)
Crates.Io1 product
  • gix≥ 0.31.0, < 0.83.0
Debian1 product
  • rust-gix-submoduleAll versions (No fix recorded) | < 0.30.0-1

7 vendors · 17 products

References

13 links
Show all 13 references