GHSA-m4f9-c775-wg56: Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
This advisory was withdrawn on Jun 30, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references. Original Description gix-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…
Published May 26, 2026 · Updated Jun 30, 2026
Affected packages
gix
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.31.0, < 0.83.0
- Fixed in
- 0.83.0
- Check
cargo tree -i gix
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references.
Original Description
gix-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.
References
- https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
- https://nvd.nist.gov/vuln/detail/CVE-2026-40034
- 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
- https://github.com/advisories/GHSA-m4f9-c775-wg56
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Rust (crates.io) vulnerabilities
All Rust (crates.io) entriesGHSA-q54r-jf2p-rfr2
gitoxide gix: untrusted .git/config disables filesystem .git-protection path checks via unfiltered protect_options()
high7.3Oct 23, 2026CVE-2026-40034
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
high7.8May 5, 2026GHSA-fr8x-3vfx-f45h
gix and gitoxide: unvalidated submodule name traverses out of .git/modules and redirects state() / open() to another repository
high7.7May 5, 2026GHSA-p3hw-mv63-rf9w
gix's submodule name validation bypass + trust inheritance flaw enables path traversal and credential disclosure
high7.5May 5, 2026GHSA-pg4w-g64p-qwhj
gix and gitoxide's symlinked .gitmodules are followed and parsed from outside of the repository
high7.7May 5, 2026CVE-2025-31130
gitoxide does not detect SHA-1 collision attacks
medium6.8Apr 4, 2025
