GHSA-m4f9-c775-wg56

Suggest an improvement
Source
https://github.com/advisories/GHSA-m4f9-c775-wg56
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m4f9-c775-wg56/GHSA-m4f9-c775-wg56.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m4f9-c775-wg56
Withdrawn
2026-06-30T17:40:48Z
Published
2026-05-26T15:32:10Z
Modified
2026-06-30T17:45:20Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-f26g-jm89-4g65. This link is maintained to preserve external references.

Original Description

gix-submodule before 0.82.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.

Database specific
{
    "cwe_ids": [
        "CWE-77"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-30T17:40:48Z",
    "nvd_published_at": "2026-05-26T15:16:35Z",
    "severity": "HIGH"
}
References

Affected packages

crates.io / gix

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.31.0
Fixed
0.83.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-m4f9-c775-wg56/GHSA-m4f9-c775-wg56.json"