CVE-2026-40034
Last modified
CVE-2026-40034 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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.. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40034?
How severe is CVE-2026-40034?
How do I fix CVE-2026-40034?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40029parseusbs before 1.9 contains an OS command injection vulner…7.8
- CVE-2026-4003The Users manager – PN plugin for WordPress is vulnerable to…9.8
- CVE-2026-40030parseusbs before 1.9 contains an OS command injection vulner…8.4
- CVE-2026-40031MemProcFS before 5.17 contains multiple unsafe library-loadi…8.5
- CVE-2026-40032UAC (Unix-like Artifacts Collector) before 3.3.0-rc1 contain…8.5
- CVE-2026-40033FreeRDP before 3.26.0 contains a heap-buffer-overflow vulner…8.8
- CVE-2026-40035Unfurl through 2025.08 contains an improper input validation…9.3
- CVE-2026-40036Unfurl before 2026.04 contains an unbounded zlib decompressi…8.7
- CVE-2026-40037OpenClaw before 2026.3.31 (patched in 2026.4.8) contains a r…7.1
- CVE-2026-40038Pachno 1.0.6 contains a stored cross-site scripting vulnerab…7.2
- CVE-2026-40039Pachno 1.0.6 contains an open redirection vulnerability that…7.1
- CVE-2026-4004The Task Manager plugin for WordPress is vulnerable to arbit…6.5
Are you affected by CVE-2026-40034?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
