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

- Severity: Critical 9.8 (CVSS:3.1, scored by Bitdefender) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.51%, higher than 75% of CVEs (2026-12-01)
- Published: 2024-01-10T15:37:05.000Z
- Modified: 2026-09-10T03:50:04.744Z
- Also known as: GHSA-449p-3h89-pw88, GO-2024-2456
- Related: CGA-ghfj-54hg-3xgm
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Bitdefender

## Description

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.

(As written by CVE List.)

## Affected

- go-git go-git: 5.11.0
- github.com/go-git/go-git/v5 (Go): from 5.0.0 before 5.11.0
- gopkg.in/src-d/go-git.v4 (Go): from 4.0.0 up to 4.13.1; from 4.7.1
- go-git_project go-git: from 4.0.0 before 5.11.0

## Every score

- Bitdefender: CVSS:3.1 9.8 Critical `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 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/go-git/go-git/security/advisories/GHSA-449p-3h89-pw88> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49569> (advisory)
- <https://github.com/go-git/go-git> (package)

## Sources

- CVE List: [CVE-2023-49569](https://www.cve.org/CVERecord?id=CVE-2023-49569), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-449p-3h89-pw88](https://github.com/advisories/GHSA-449p-3h89-pw88), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2456](https://pkg.go.dev/vuln/GO-2024-2456), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-49569](https://nvd.nist.gov/vuln/detail/CVE-2023-49569), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49569 · Whole record: https://cve.day/CVE-2023-49569.json · Rebuilt by cve.day 2026-11-25T22:58:32.092Z
