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.
CVE-2026-40034
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-26. a secondary CVSS source baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 51(Track*)EG Risk 51/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- KEV
- Not listed
Published
May 26, 2026
Last Modified
July 24, 2026
Advisory Details (5)
Auto-updated May 28, 2026`gix-submodule` - `.gitmodules` can bypass `update = !command` trust check · Advisory · GitoxideLabs/gitoxide · GitHub
https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule | Advisories | VulnCheck
https://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submoduleANT-2026-6SNS6KMP · GitoxideLabs/gitoxide
https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMPcommit dd5c18d9e526 (GitoxideLabs/gitoxide)
Patch available: GitoxideLabs/gitoxide gix-trace-v0.1.20 (contains commit dd5c18d9e526)
https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dccommit 6a2e6a436f76 (GitoxideLabs/gitoxide)
Patch available: GitoxideLabs/gitoxide gix-trace-v0.1.20 (contains commit 6a2e6a436f76)
https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0Vendor Advisories for CVE-2026-40034(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-40034Microsoft Security Response Center (MSRC)High
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
- GHSA-f26g-jm89-4g65GitHub Security AdvisoriesHigh
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Affected Packages
(3 across 3 ecosystems)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| gix | — | 0.83.0 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rust-gix-submodule | 0.16.0-1, 0.20.0-1, 0.30.0-1, 0.33.0-1 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rust-gix-submodule | 0.16.0-1, 0.20.0-1 | 0.30.0-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 242 total refreshes for this CVE.
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 03:11 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-11 01:53 UTCOSV refresh
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-23 16:21 UTCEG score recompute
- 2026-08-23 16:21 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-21 21:28 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 18:15 UTCEG score recompute
- 2026-08-20 18:15 UTCVendor advisory
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 09:33 UTCVendor advisory
- 2026-08-16 16:32 UTCEG score recompute
- 2026-08-16 16:32 UTCVendor advisory
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 03:06 UTCEG score recompute
- 2026-08-16 03:06 UTCVendor advisory
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:16 UTCEG score recompute
- 2026-08-15 03:16 UTCVendor advisory
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 14:29 UTCVendor advisory
- 2026-08-14 01:43 UTCEG score recompute
- 2026-08-14 01:43 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 11:14 UTCVendor advisory
- 2026-08-12 22:27 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 09:41 UTCVendor advisory
- 2026-08-11 15:31 UTCEG score recompute
- 2026-08-11 15:31 UTCVendor advisory
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 02:45 UTCEG score recompute
- 2026-08-11 02:45 UTCVendor advisory
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 13:58 UTCVendor advisory
- 2026-08-10 01:12 UTCEG score recompute
- 2026-08-10 01:12 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 12:26 UTCVendor advisory
- 2026-08-08 23:37 UTCEG score recompute
- 2026-08-08 23:37 UTCVendor advisory
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 02:15 UTCEG score recompute
- 2026-08-07 13:29 UTCVendor advisory
- 2026-08-07 00:43 UTCEG score recompute
- 2026-08-07 00:43 UTCVendor advisory
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 09:50 UTCVendor advisory
- 2026-08-05 21:03 UTCEG score recompute
- 2026-08-05 21:03 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-03 16:41 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 18:08 UTCVendor advisory
- 2026-08-02 05:20 UTCEG score recompute
- 2026-08-02 05:20 UTCVendor advisory
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 16:33 UTCEG score recompute
- 2026-08-01 16:33 UTCVendor advisory
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 10:22 UTCEG score recompute
- 2026-07-31 10:22 UTCVendor advisory
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 16:49 UTCEG score recompute
- 2026-07-29 16:49 UTCVendor advisory
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 07:48 UTCEG score recompute
- 2026-07-26 07:48 UTCVendor advisory
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-24 12:11 UTCNVD updateCVSS v4 → 8.5
Frequently asked(5)
What is CVE-2026-40034?
When was CVE-2026-40034 disclosed?
Is CVE-2026-40034 actively exploited?
What is the CVSS score of CVE-2026-40034?
How do I remediate CVE-2026-40034?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40034
Is Your Infrastructure Affected by CVE-2026-40034?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.