CVE-2026-40034

gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule

HIGH
7.8
CVSS Score
Published: May 26, 2026 at 02:08 PM UTC
Updated: October 8, 2026 at 04:17 PM UTC
3 products affected across 1 vendorGitoxideGixGix Submodule

Using gitoxide by gitoxide?

Get instant alerts when new vulnerabilities affect gitoxide - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%
SSVC
PoC

Description

gix-submodule before 0.82.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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0 ≤ v < 0.5.210
Vendor states this is fixed in 0.5.21 (unaffected)
0 ≤ v < 0.84.00
Vendor states this is fixed in 0.84.0 (unaffected)
0 ≤ v < 0.29.00
Vendor states this is fixed in 0.29.0 (unaffected)

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHVulnCheck
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-77

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card