
CVE catalog
CVE-2026-40034
stgit-2.6.0-1.1 on GA media
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.65% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-gix-submodule | 13 | 0.16.0-1 | vulnerable |
| Debian | rust-gix-submodule | 13 | 0.20.0-1 | vulnerable |
| Debian | rust-gix-submodule | 13 | 0.30.0-1 | vulnerable |
| Debian | rust-gix-submodule | 13 | 0.33.0-1 | vulnerable |
| Debian | rust-gix-submodule | 13 | 0.34.0-1 | vulnerable |
| Debian | rust-gix-submodule | 14 | 0.16.0-1 | vulnerable |
| Debian | rust-gix-submodule | 14 | 0.20.0-1 | vulnerable |
| Debian | rust-gix-submodule | 14 | 0.30.0-1 | fixed |
| Opensuse | stgit | leap 16.0 | 2.6.0-bp160.1.1 | fixed |
| Opensuse | stgit | tumbleweed | 2.6.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-gix-submodule | deb | 14 | 0.30.0-1 | Not reported | DEBIAN-CVE-2026-40034 | Not reported |
| Opensuse | stgit | rpm | leap 16.0 | 2.6.0-bp160.1.1 | Not reported | OPENSUSE-SU-2026:21185-1 | Not reported |
| Opensuse | stgit | rpm | tumbleweed | 2.6.0-1.1 | Not reported | OPENSUSE-SU-2026:11038-1 | Not reported |
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [librust-gix-submodule-dev]Affected
Source package: [rust-gix-submodule]
Details (2)
0.16.0-1· amd64 · trixieAffected
pypi · rust-gix-submodule · debian · 13
0.16.0-1· arm64 · trixieAffected
pypi · rust-gix-submodule · debian · 13
[openSUSE Tumbleweed]
- [stgit-bash-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.6.0-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-emacs]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.6.0-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-fish-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.6.0-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-vim-plugin]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.6.0-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit-zsh-completion]Unknown
Source package: [stgit]
Details (1)
2.6.1-3.2· noarch · tumbleweedUnknown · Fixed:
2.6.0-1.1Version impact unknown
pypi · stgit · opensuse · tumbleweed
- [stgit]Fixed
Source package: [stgit]
Details (1)
2.6.1-3.2· x86_64 · tumbleweedFixed · Fixed:
2.6.0-1.1pypi · stgit · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21185-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40034]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11038-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21185-1]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]