CVE-2026-40034

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-26. the CNA's CVSS baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:vulncheck, epss, ghsa
Trending — 3 sources updated this weekElevated
7.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 7.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity78% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Watch closely — could escalate to Attend.
EPSS
27.6%
KEV
Not listed

Published

May 26, 2026

Last Modified

July 14, 2026

Advisory Details (5)

Auto-updated May 28, 2026
🔬 Proof of concept available. Patch available. Sources: github_commit, github.
github Patch Available🟡 PoC Available

`gix-submodule` - `.gitmodules` can bypass `update = !command` trust check · Advisory · GitoxideLabs/gitoxide · GitHub

https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
generic

gitoxide - 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-submodule
generic

ANT-2026-6SNS6KMP · GitoxideLabs/gitoxide

https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP
github_commit Patch Available

commit dd5c18d9e526 (GitoxideLabs/gitoxide)

Patch available: GitoxideLabs/gitoxide gix-trace-v0.1.20 (contains commit dd5c18d9e526)

https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc
github_commit Patch Available

commit 6a2e6a436f76 (GitoxideLabs/gitoxide)

Patch available: GitoxideLabs/gitoxide gix-trace-v0.1.20 (contains commit 6a2e6a436f76)

https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0

Affected Packages

(1 across 1 ecosystem)
crates.io(1)
PackageVulnerable rangeFixed inDependents
gix0.83.0

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 10× in last 7d / 54× 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 142 total refreshes for this CVE.

  1. 2026-07-23 14:18 UTCEPSS rescore
  2. 2026-07-23 14:18 UTCEPSS rescore
  3. 2026-07-23 03:10 UTCEG score recompute
  4. 2026-07-22 14:08 UTCEPSS rescore
  5. 2026-07-20 17:08 UTCEPSS rescore
  6. 2026-07-19 14:31 UTCEPSS rescore
  7. 2026-07-19 07:52 UTCOSV refresh
  8. 2026-07-19 02:29 UTCEPSS rescore
  9. 2026-07-18 10:04 UTCEPSS rescore
  10. 2026-07-16 17:03 UTCEPSS rescore
  11. 2026-07-15 16:57 UTCEPSS rescore
  12. 2026-07-15 16:57 UTCEPSS rescore
  13. 2026-07-15 02:00 UTCEPSS rescore
  14. 2026-07-13 22:30 UTCEPSS rescore
  15. 2026-07-13 06:13 UTCEPSS rescore
  16. 2026-07-13 06:13 UTCEPSS rescore
  17. 2026-07-12 05:46 UTCEPSS rescore
  18. 2026-07-11 08:27 UTCEPSS rescore
  19. 2026-07-09 19:10 UTCEPSS rescore
  20. 2026-07-08 15:15 UTCEPSS rescore
  21. 2026-07-07 13:46 UTCEPSS rescore
  22. 2026-07-06 16:27 UTCEPSS rescore
  23. 2026-07-06 16:27 UTCEPSS rescore
  24. 2026-07-06 02:23 UTCEPSS rescore
  25. 2026-07-06 02:23 UTCEPSS rescore
Show 75 more
  1. 2026-07-05 02:30 UTCEPSS rescore
  2. 2026-07-04 06:31 UTCEPSS rescore
  3. 2026-07-01 15:06 UTCEPSS rescore
  4. 2026-07-01 14:08 UTCVendor advisory
  5. 2026-06-30 23:22 UTCEPSS rescore
  6. 2026-06-29 14:59 UTCVendor advisory
  7. 2026-06-29 14:59 UTCGHSA enrichment
  8. 2026-06-29 14:06 UTCEPSS rescore
  9. 2026-06-28 23:43 UTCVendor advisory
  10. 2026-06-28 23:43 UTCGHSA enrichment
  11. 2026-06-28 14:07 UTCEPSS rescore
  12. 2026-06-28 08:39 UTCVendor advisory
  13. 2026-06-28 08:39 UTCGHSA enrichment
  14. 2026-06-28 04:56 UTCEPSS rescore
  15. 2026-06-27 19:53 UTCVendor advisory
  16. 2026-06-27 19:53 UTCGHSA enrichment
  17. 2026-06-27 07:07 UTCVendor advisory
  18. 2026-06-27 07:07 UTCGHSA enrichment
  19. 2026-06-27 03:08 UTCEPSS rescore
  20. 2026-06-26 17:56 UTCVendor advisory
  21. 2026-06-26 17:56 UTCGHSA enrichment
  22. 2026-06-26 02:52 UTCVendor advisory
  23. 2026-06-26 02:52 UTCGHSA enrichment
  24. 2026-06-25 13:49 UTCEPSS rescore
  25. 2026-06-25 13:49 UTCEPSS rescore
  26. 2026-06-25 12:04 UTCVendor advisory
  27. 2026-06-25 12:04 UTCGHSA enrichment
  28. 2026-06-24 14:05 UTCEPSS rescore
  29. 2026-06-23 21:33 UTCEPSS rescore
  30. 2026-06-22 14:25 UTCEPSS rescore
  31. 2026-06-22 14:25 UTCEPSS rescore
  32. 2026-06-21 14:56 UTCEPSS rescore
  33. 2026-06-21 14:56 UTCEPSS rescore
  34. 2026-06-21 01:59 UTCEPSS rescore
  35. 2026-06-19 19:25 UTCEPSS rescore
  36. 2026-06-18 17:52 UTCEPSS rescore
  37. 2026-06-18 17:52 UTCEPSS rescore
  38. 2026-06-17 19:20 UTCVendor advisory
  39. 2026-06-17 19:20 UTCGHSA enrichment
  40. 2026-06-17 17:53 UTCEPSS rescore
  41. 2026-06-17 06:06 UTCGHSA enrichment
  42. 2026-06-16 17:52 UTCEPSS rescore
  43. 2026-06-16 17:19 UTCVendor advisory
  44. 2026-06-16 17:19 UTCGHSA enrichment
  45. 2026-06-16 02:37 UTCVendor advisory
  46. 2026-06-16 02:37 UTCGHSA enrichment
  47. 2026-06-15 17:49 UTCEPSS rescore
  48. 2026-06-15 13:51 UTCVendor advisory
  49. 2026-06-15 13:51 UTCGHSA enrichment
  50. 2026-06-14 22:52 UTCVendor advisory
  51. 2026-06-14 22:52 UTCGHSA enrichment
  52. 2026-06-14 10:04 UTCVendor advisory
  53. 2026-06-14 10:04 UTCGHSA enrichment
  54. 2026-06-13 23:00 UTCEPSS rescore
  55. 2026-06-13 21:18 UTCGHSA enrichment
  56. 2026-06-13 08:03 UTCVendor advisory
  57. 2026-06-13 08:03 UTCGHSA enrichment
  58. 2026-06-12 23:12 UTCEPSS rescore
  59. 2026-06-12 23:12 UTCEPSS rescore
  60. 2026-06-12 19:15 UTCGHSA enrichment
  61. 2026-06-12 06:22 UTCGHSA enrichment
  62. 2026-06-11 17:35 UTCGHSA enrichment
  63. 2026-06-11 14:00 UTCEPSS rescore
  64. 2026-06-11 04:49 UTCGHSA enrichment
  65. 2026-06-10 22:18 UTCEPSS rescore
  66. 2026-06-10 16:03 UTCGHSA enrichment
  67. 2026-06-10 13:22 UTCEPSS rescore
  68. 2026-06-10 13:22 UTCEPSS rescore
  69. 2026-06-10 03:17 UTCGHSA enrichment
  70. 2026-06-09 14:31 UTCGHSA enrichment
  71. 2026-06-09 01:45 UTCGHSA enrichment
  72. 2026-06-08 14:17 UTCEPSS rescore
  73. 2026-06-08 14:17 UTCEPSS rescore
  74. 2026-06-08 12:58 UTCGHSA enrichment
  75. 2026-06-08 00:12 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-40034?
CVE-2026-40034 is a high vulnerability published on May 26, 2026. 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…
When was CVE-2026-40034 disclosed?
CVE-2026-40034 was first published in the National Vulnerability Database on May 26, 2026, with the most recent update on July 14, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-40034 actively exploited?
CVE-2026-40034 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 27.6% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-40034?
CVE-2026-40034 has a CVSS v4.0 base score of 7.8 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-40034?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-40034, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-40034

Explore →

Is Your Infrastructure Affected by CVE-2026-40034?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.