CVE-2026-40034gitoxide
High 8.5
Follow: this CVE · gitoxide · gitoxide We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 8.5
- EPSS
- —
- Auth required
- Yes
- Published
- May 26, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- 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
What happens
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.
What to do
- Apply the vendor's security update for gitoxide.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | gix |
≥ 0.31.0 < 0.83.0 |
0.83.0 |
cargo update -p gix --precise 0.83.0 |
Per OSV / GitHub Advisories (GHSA-f26g-jm89-4g65). Check the version in your lockfile before upgrading.
Affected products
- gitoxide · gitoxide
- gitoxide · gix-submodule
- gitoxide · gix
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- watchexec-2.8.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12338-1 · Oct 28, 2026 High
- Security update for gitoxide · SUSE · openSUSE-SU-2026:21558-1 · Aug 10, 2026 High
- gitoxide-0.56.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11474-1 · Aug 9, 2026 High
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.