Trust Boundary Violation Affecting gix-submodule package, versions <0.29.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-GIXSUBMODULE-16427485
  • published6 May 2026
  • disclosed5 May 2026
  • creditUnknown

Introduced: 5 May 2026

New CVE NOT AVAILABLE CWE-183  (opens in a new tab)
CWE-349  (opens in a new tab)
CWE-501  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade gix-submodule to version 0.29.0 or higher.

Overview

Affected versions of this package are vulnerable to Trust Boundary Violation via the update function in submodule configuration handling. An attacker can execute arbitrary shell commands by crafting a malicious .gitmodules file that sets update = !<shell command>, which is incorrectly accepted due to improper validation of the configuration source.

CVSS Base Scores

version 4.0
version 3.1