# CVE-2026-44243: GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository

- Severity: High 7.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T19:38:48.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-7545-fcxq-7j24, PYSEC-2026-2162
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.

(As written by CVE List.)

## Affected

- gitpython-developers GitPython: < 3.1.48
- gitpython (PyPI): before 3.1.48
- gitpython_project gitpython: before 3.1.48

## Every score

- GitHub_M: CVSS:4.0 7.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7545-fcxq-7j24> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48> (fix, patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44243> (advisory)
- <https://github.com/gitpython-developers/GitPython> (package)

## Sources

- CVE List: [CVE-2026-44243](https://www.cve.org/CVERecord?id=CVE-2026-44243), CVE Terms of Use, modified 2026-05-07
- GitHub Advisory Database: [GHSA-7545-fcxq-7j24](https://github.com/advisories/GHSA-7545-fcxq-7j24), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44243](https://nvd.nist.gov/vuln/detail/CVE-2026-44243), Public domain, modified 2026-11-11
- PyPA Advisory Database: [PYSEC-2026-2162](https://osv.dev/vulnerability/PYSEC-2026-2162), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44243 · Whole record: https://cve.day/CVE-2026-44243.json · Rebuilt by cve.day 2026-11-25T22:59:20.898Z
