CVE-2026-40034
CVE-2026-40034 is a high-severity command injection vulnerability in gix-submodule versions prior to 0.82.0. The flaw stems from improper validation of the `update` field in `.gitmodules` files, allowing attackers to bypass the `CommandForbiddenInModulesConfiguration` security 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 that execute when `Submodule::update()` is called, enabling remote code execution. The vulnerability was published on 2026-05-26 and affects the gitoxide project's gix-submodule crate. Two commits address this issue, and a GitHub Security Advisory has been issued. Organizations using gix-submodule should upgrade to version 0.82.0 or later and audit submodule configurations for unauthorized `update` field modifications.