CVE-2026-40034
published high CVSS 4.0 · 7.3gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gitoxide | — | gitoxide0 to < 0.5.21 (affected · semver) · 0.5.21 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| gitoxide | — | gix-submodule0 to < 0.29.0 (affected · semver) · 0.29.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| gitoxide | — | gix0 to < 0.84.0 (affected · semver) · 0.84.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3808 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1951 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2024 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideaarch64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| Amazon Linux | AL2 | rustaarch64 | Listed in advisory | Not stated | ALAS2-2026-3808 |
Show 52 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideppc64le | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxides390x | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxidex86_64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideaarch64 | Advisory build | 0.56.0-1.1 | OPENSUSE-SU-2026:11474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideppc64le | Advisory build | 0.56.0-1.1 | OPENSUSE-SU-2026:11474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxides390x | Advisory build | 0.56.0-1.1 | OPENSUSE-SU-2026:11474-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxidex86_64 | Advisory build | 0.56.0-1.1 | OPENSUSE-SU-2026:11474-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgitaarch64 | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgitx86_64 | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgit-bash-completionnoarch | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgit-emacsnoarch | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgit-fish-completionnoarch | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgit-vim-pluginnoarch | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | stgit-zsh-completionnoarch | Advisory build | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgitaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgitppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgits390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgitx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-bash-completionaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-bash-completionppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-bash-completions390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-bash-completionx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-emacsaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-emacsppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-emacss390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-emacsx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-fish-completionaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-fish-completionppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-fish-completions390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-fish-completionx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-vim-pluginaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-vim-pluginppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-vim-plugins390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-vim-pluginx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-zsh-completionaarch64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-zsh-completionppc64le | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-zsh-completions390x | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | stgit-zsh-completionx86_64 | Advisory build | 2.6.0-1.1 | OPENSUSE-SU-2026:11038-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | watchexecaarch64 | Advisory build | 2.8.0-1.1 | OPENSUSE-SU-2026:12338-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | watchexecppc64le | Advisory build | 2.8.0-1.1 | OPENSUSE-SU-2026:12338-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | watchexecs390x | Advisory build | 2.8.0-1.1 | OPENSUSE-SU-2026:12338-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | watchexecx86_64 | Advisory build | 2.8.0-1.1 | OPENSUSE-SU-2026:12338-1 |
| Amazon Linux | AL2 | rustnoarch | Listed in advisory | Not stated | ALAS2-2026-3808 |
| Amazon Linux | AL2 | rustsrc | Listed in advisory | Not stated | ALAS2-2026-3808 |
| Amazon Linux | AL2 | rustx86_64 | Listed in advisory | Not stated | ALAS2-2026-3808 |
| Amazon Linux | AL2023 | rustaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1951 |
| Amazon Linux | AL2023 | rustnoarch | Listed in advisory | Not stated | ALAS2023-2026-1951 |
| Amazon Linux | AL2023 | rustsrc | Listed in advisory | Not stated | ALAS2023-2026-1951 |
| Amazon Linux | AL2023 | rustx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1951 |
| Amazon Linux | AL2023 | rust-cargo-caarch64 | Listed in advisory | Not stated | ALAS2023-2026-2024 |
| Amazon Linux | AL2023 | rust-cargo-csrc | Listed in advisory | Not stated | ALAS2023-2026-2024 |
| Amazon Linux | AL2023 | rust-cargo-cx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2024 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gitoxide | gitoxide | 0 to < 0.5.21 (affected · semver)0.5.21 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| gitoxide | gix-submodule | 0 to < 0.29.0 (affected · semver)0.29.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| gitoxide | gix | 0 to < 0.84.0 (affected · semver)0.84.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
5- https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51356667a0
- https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd097cfa7dc
- GitHub Security Advisory (GHSA-f26g-jm89-4g65) https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
- Anthropic CVD Finding ANT-2026-6SNS6KMP https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP
- VulnCheck Advisory: gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule https://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitmodules-override-in-gix-submodule
Provider assertions
2VulnCheck · cna
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bdda32bf12e8a0f0ee5cce0684678cfaea5548c0d822d60da936cec2f0454bde
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record