{"id":"CVE-2026-40034","revision":"7f9ab1f485614176b578e0f6984b86ed","records":[{"revision":"7f9ab1f485614176b578e0f6984b86ed","observedAt":"2026-10-25T09:17:24.328+00:00","statement":{"source":"nvd","id":"CVE-2026-40034","aliases":[],"title":"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 initializ…","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.","state":0,"publishedAt":"2026-05-26T15:16:35.087+00:00","modifiedAt":"2026-10-08T16:17:14.55+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"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","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0","https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc","https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65","https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP","https://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40034","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-77"],"productCriteria":[],"sourceDates":{"published":"2026-05-26T15:16:35.087","lastModified":"2026-10-08T16:17:14.550"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-40034","identifiers":["CVE-2026-40034"]},"retained":false,"historicalAffected":[]}],"coverage":[]}