rust-gix-submodule: gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gi...
CVE-2026-40034 is fixed in 27 products on 1 platform, first by DEBIAN-CVE-2026-40034, released May 26, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cargo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| cargo-c · amzn 2023 | 0.10.19-1.amzn2023.0.4 | ALAS2023-2026-2024 | Aug 3, 2026 |
| cargo-c-debuginfo · amzn 2023 | 0.10.19-1.amzn2023.0.4 | ALAS2023-2026-2024 | Aug 3, 2026 |
| cargo-debuginfo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| clippy · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| clippy-debuginfo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| gitoxide · opensuse-leap 16.0 | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 | Aug 10, 2026 |
| rust · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-analyzer · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-analyzer-debuginfo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-cargo-c-debugsource · amzn 2023 | 0.10.19-1.amzn2023.0.4 | ALAS2023-2026-2024 | Aug 3, 2026 |
| rust-debugger-common · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-debuginfo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-debugsource · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-doc · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-gdb · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-gix-submodule · Debian 14 | 0.30.0-1 | DEBIAN-CVE-2026-40034 | May 26, 2026 |
| rust-lldb · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-src · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-std-static · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-std-static-wasm32-unknown-unknown · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-std-static-wasm32-wasip1 · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-toolset · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rust-toolset-srpm-macros · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rustfmt · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| rustfmt-debuginfo · amzn 2023 | 1.97.0-1.amzn2023.0.1 | ALAS2023-2026-1951 | Jul 20, 2026 |
| stgit · opensuse-leap 16.0 | 2.6.0-bp160.1.1 | OPENSUSE-SU-2026:21185-1 | Jun 30, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.