ADVISORIES

Vulnerability

CVE-2026-40034

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.

30 advisories report this vulnerability, across 9 ecosystems.

Advisories in openSUSE

  • SUSEVEX-CVE-2026-40034

    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…

    Important CVE-2026-40034 SUSEopenSUSE Updated 14 November 2026
  • openSUSE-SU-2026:11038-1

    stgit-2.6.0-1.1 on GA media

    CVE-2026-40034 openSUSE Updated 16 June 2026
  • openSUSE-SU-2026:11474-1

    gitoxide-0.56.0-1.1 on GA media

    CVE-2026-25541CVE-2026-40034 openSUSE Updated 10 August 2026
  • openSUSE-SU-2026:12338-1

    watchexec-2.8.0-1.1 on GA media

    CVE-2026-40034 openSUSE Updated 29 October 2026
  • openSUSE-SU-2026:21185-1

    Security update for stgit

    CVE-2026-40034 openSUSE Updated 2 July 2026
  • openSUSE-SU-2026:21558-1

    Security update for gitoxide

    CVE-2024-32650CVE-2025-22620CVE-2025-31130CVE-2026-25541 openSUSE Updated 12 August 2026

References