Advisory

DEBIAN-CVE-2026-40034

Also known as: CVE-2026-40034

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-26 15:16 UTC
Modified
2026-10-09 09:47 UTC

Affected packages and fixes

rust-gix-submodule

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-gix-submodule

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.30.0-1 (ecosystem)

Fixed versions

0.30.0-1

Fix

  • Fixed version 0.30.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences