Skip to content
VulniPulse
Advisory severityHigh8.2Red Hat Linux

High [CVE-2026-76222] Arbitrary file creation via path traversal in.gitmodules submodule names

This high-severity Red Hat Linux advisory covers CVE-2026-76222 affecting Red Hat Satellite 6.19 for RHEL 9, Red Hat Ansible Automation Platform 2.5, Red Hat Ansible Automation Platform 2.6.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-76222 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

GitPython before 3.1.58 fails to validate submodule names from.gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory.

Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations. A remote attacker could craft a malicious Git repository containing specially formed submodule names with directory traversal sequences.

CVE-2026-76222 is a path-traversal flaw in GitPython submodule handling: cloning a malicious repository and initializing its submodules can create files or repositories outside the intended directory, because GitPython omits the suspicious-submodule-name guard that upstream core git enforces.

Unlike the caller-gated GitPython option-forwarding flaws, this triggers during ordinary clone plus submodule initialization of an untrusted repository, so any Red Hat product that ships or bundles a vulnerable GitPython version is affected. Fixed in GitPython 3.1.58.

Red Hat severity: Important — CVSS 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L). Weakness: CWE-22.

Affected versions
  • < 3.1.58

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Fixed versions
  • python3.12-gitpython-0:3.1.59-1.el9pc
  • ansible-automation-platform-25/controller-rhel8:1789607021
  • ansible-automation-platform-26/controller-rhel9:1789673739
  • ansible-automation-platform-27/controller-rhel9:1789580684
  • rhoai/odh-training-cuda128-torch29-py312-rhel9:1789529851
  • satellite/iop-vmaas-rhel9:1789611858
  • satellite/iop-vulnerability-engine-rhel9:1789637082
  • satellite/iop-vulnerability-engine-rhel9:1789607605
  • satellite/iop-vmaas-rhel9:1789611998
  • RHSA-2026:63385
  • RHSA-2026:71210
  • RHSA-2026:71179
  • RHSA-2026:71177
  • RHSA-2026:69539
  • RHSA-2026:68764
  • RHSA-2026:68771
  • RHSA-2026:68776
  • RHSA-2026:68780

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • There is no mitigation beyond not cloning or initializing git submodules from untrusted repositories. Upgrade to GitPython 3.1.58 or later when it becomes available.

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.