CVE-2026-40034

HIGH
MEDIUM Priority: 0.05 BB Relevance: 40/100
Published: 2026-05-26 Modified: 2026-11-08 First seen: 2026-11-08 Status: active

Attack Surface

Low Complexity No Auth Conf. Impact Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: None
UI: Passive
AT: None
VC: High
VI: High
VA: High

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.

Affected Software (3)

VendorProductVersion
gitoxide gitoxide 0 < 0.5.21
gitoxide gix 0 < 0.84.0
gitoxide gix-submodule 0 < 0.29.0

Bug Bounty Relevance

40 / 100
✓ No authentication
✓ Low complexity

CVSS Score

7.3 / 10.0 v4.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

EPSS — Exploitation Probability

0.65%
Raw Score 0.006510
Percentile 51.8%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00651
2026-11-12
0.00651
2026-11-10
0.00651
2026-11-09
0.00651
2026-11-08
0.00651

Intelligence Sources

mitre ref →