{"id":"GHSA-m4f9-c775-wg56","summary":"Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules","details":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references.\n\n### Original Description\ngix-submodule before 0.82.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.","modified":"2026-06-30T17:45:20.721566115Z","published":"2026-05-26T15:32:10Z","withdrawn":"2026-06-30T17:40:48Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-06-30T17:40:48Z","nvd_published_at":"2026-05-26T15:16:35Z"},"references":[{"type":"WEB","url":"https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40034"},{"type":"WEB","url":"https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0"},{"type":"WEB","url":"https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc"},{"type":"WEB","url":"https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule"}],"affected":[{"package":{"name":"gix","ecosystem":"crates.io","purl":"pkg:cargo/gix"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.31.0"},{"fixed":"0.83.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m4f9-c775-wg56/GHSA-m4f9-c775-wg56.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}