gix_submodule::File::update() Enables Arbitrary Command Execution · Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass
Affects gixSource GCVE Database
0
CVSS 7.8 High : upgrade to 0.83.0 soon.
Data as of 18 Jul 2026, 12:55 UTC
CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
- Patch
- Available – fixed in 0.83.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWhat to do
Upgrade gix to 0.83.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iogix | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using affected versions or restrict usage of untrusted .gitmodules files.
Description
gix-submodule versions from 0.31.0 up to but not including 0.83.0 have a vulnerability in the validation of the update field in .gitmodules. This flaw allows attackers to bypass command execution restrictions and inject arbitrary shell commands that execute during submodule updates. The advisory is a duplicate and has been withdrawn in favor of another GHSA identifier.
References
- github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-40034 (opens in a new tab)
- github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0 (opens in a new tab)
- github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc (opens in a new tab)
- red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP (opens in a new tab)
- vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule (opens in a new tab)
Community reviews
Loading reviews…