---
title: "CVE-2023-49569: Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients"
url: https://erroneo.us/security/cve/CVE-2023-49569/
description: "CVE-2023-49569 (github.com/go-git/go-git/v5 (Go)): A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-01-12
date_modified: 2025-01-06
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-49569"
kev: false
cvss: 9.8
epss: 0.0151
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-49569: Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.5% , percentile 74: FIRST’s model estimates a 1.5% chance of exploitation activity in the next 30 days, higher than 74% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/go-git/go-git/v5 (Go) >= 5.0.0, < 5.11.0, fixed in 5.11.0 ; gopkg.in/src-d/go-git.v4 (Go) >= 4.0.0, <= 4.13.1, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved. Applications are only affected if they are using the ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS , which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS or in-memory filesystems are not affected by this issue. This is a go-git implementation issue and does not affect the upstream git cli.

## Affected packages

- Go `github.com/go-git/go-git/v5` >= 5.0.0, < 5.11.0 → fixed: 5.11.0
- Go `gopkg.in/src-d/go-git.v4` >= 4.0.0, <= 4.13.1 → fixed: none listed

## Affected products (CVE record)

- go-git go-git: 5.11.0

## Severity

- Bitdefender CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.51% probability of exploitation activity in the next 30 days; percentile 74.

## Sources

- [GitHub Advisory GHSA-449p-3h89-pw88](https://github.com/advisories/GHSA-449p-3h89-pw88)
- [CVE.org record CVE-2023-49569](https://www.cve.org/CVERecord?id=CVE-2023-49569)
- [NVD entry CVE-2023-49569](https://nvd.nist.gov/vuln/detail/CVE-2023-49569)
- [github.com](https://github.com/go-git/go-git/security/advisories/GHSA-449p-3h89-pw88)

---
Source page: https://erroneo.us/security/cve/CVE-2023-49569/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
