Read the docs

Path traversal in Git lets attackers write arbitrary files

Priority LOW 16CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

Git versions 2.50.1, 2.51.2, 2.52.0, 2.53.0, 2.54.0, 2.55.0 and 2.56.0 are affected by a path traversal flaw (CWE-22). A pathname that escapes the restricted directory lets a crafted repository write arbitrary files when a user clones and commits to it. A remote attacker needs the victim to interact with the malicious repository, and the impact is limited to integrity.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the CNA

Path traversal in Git allows writing to arbitrary file via cloning and committing to bad repository

Why it matters now

EPSS 0.00256 17th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitGit2.50.1; 2.51.2; 2.52.0; 2.53.0; 2.54.0; 2.55.0; 2.56.0—No fix listedCNA
  • Git VendorGit Affected 2.50.1; 2.51.2; 2.52.0; 2.53.0; 2.54.0; 2.55.0; 2.56.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*——Git-scm
  • cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* Versions — — ·Git-scm

Remediation

The sources list no fixed version for Git. The sources list no mitigation. Red Hat marks Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Hardened Images, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 and 5, Red Hat OpenShift Dev Spaces and Red Hat Satellite 6 as affected with plan none available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-113408
  2. 2026-11-12 Alias added: GHSA-64xm-x3j2-5g2g

References

  • TI-2025-30709 Git config quoting flaw allows arbitrary code execution KEVCVSS 3.1HIGH 8.1
  • TI-2022-07580 gitattributes parsing integer overflow in git CVSS 3.1CRITICAL 9.8
  • TI-2022-20244 Integer overflow in `git archive`, `git log --format` leading to RCE in git CVSS 3.1CRITICAL 9.8
  • TI-2021-04400 malicious repositories can execute remote code while cloning CVSS 3.1HIGH 8.0
  • TI-2024-21101 Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution CVSS 3.1CRITICAL 9.1
  • TI-2023-10933 "git apply --reject" partially-controlled arbitrary file write CVSS 3.1HIGH 7.5
See all 37 →

Sources