{"id":"EUVD-2026-31831","revision":"5526fdc1fbf546bb8c5e9db1698672d5","records":[{"revision":"5526fdc1fbf546bb8c5e9db1698672d5","observedAt":"2026-10-30T05:59:06.872+00:00","statement":{"source":"euvd","id":"EUVD-2026-31831","aliases":["CVE-2026-40034","GHSA-m4f9-c775-wg56"],"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":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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","score":7.3,"severity":null}],"references":["https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65","https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0","https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc","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://euvd.enisa.europa.eu/vulnerability/EUVD-2026-31831","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 26, 2026, 2:08:48 PM","dateUpdated":"Oct 8, 2026, 3:22:34 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2026:11474-1","title":"gitoxide-0.56.0-1.1 on GA media","vulnerabilityIds":["CVE-2026-25541","CVE-2026-40034"]},{"id":"msrc_CVE-2026-40034","title":"gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule","vulnerabilityIds":["CVE-2026-40034"]},{"id":"openSUSE-SU-2026:21558-1","title":"Security update for gitoxide","vulnerabilityIds":["CVE-2024-32650","CVE-2025-22620","CVE-2025-31130","CVE-2026-25541","CVE-2026-40034"]},{"id":"openSUSE-SU-2026:21185-1","title":"Security update for stgit","vulnerabilityIds":["CVE-2026-40034"]},{"id":"openSUSE-SU-2026:11038-1","title":"stgit-2.6.0-1.1 on GA media","vulnerabilityIds":["CVE-2026-40034"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-31831","identifiers":["EUVD-2026-31831","CVE-2026-40034","GHSA-m4f9-c775-wg56"]},"retained":false,"historicalAffected":[]}],"coverage":[]}