> CVE-2026-40034 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-05-26 15:16
MODIFIED
2026-05-26 15:16
CVSS_SCORE V3
8.5
EPSS (Prob. Exploit)
0.65%
Top 48.8%
DATA SOURCES:
NVD đź”— 2026-05-26 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02 MSRC đź”— 2026-11-02

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Unknown (P)
Interaction inconnue
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-77

> CWE DETAILED DESCRIPTIONS

CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-f26g-jm89-4g65 HIGH

gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules

AFFECTED PACKAGES:
RUST / gix
>= 0.31.0, < 0.83.0
Fixed in: 0.83.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule

AFFECTED PACKAGES:
Unknown / Unknown
2093 versions affected
ALIASES:
GHSA-f26g-jm89-4g65

> HISTORIQUE DES MODIFICATIONS

Première apparition
26/05/2026 15:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not ne...
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://github.com/GitoxideLabs/gitoxide/commit/6a2e6a436f76c8bbf2487f9967413a51...
https://github.com/GitoxideLabs/gitoxide/commit/dd5c18d9e526e8de462fa40aa047acd0...
https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-f26g-jm89-4g65
https://red.anthropic.com/2026/cvd/findings/ANT-2026-6SNS6KMP
https://www.vulncheck.com/advisories/gitoxide-command-injection-via-partial-gitm...
« BACK_TO_HOME