CVE 7.3 HIGH

gitoxide – Command Injection via Partial .gitmodules Override in gix-submodule_CVE-2026-40034

7.3 / 10
HIGH
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

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.

Basic Information

ID CVE-2026-40034
Source VulnCheck
Published May 26, 2026 at 14:08
Modified May 26, 2026 at 15:07

Affected Product

Vendor gitoxide
Product gitoxide
Affected Versions gitoxide gitoxide 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.