{"schemaVersion":3,"id":"CVE-2026-76217","aliases":["GHSA-hh9p-6wh2-4mfc","PYSEC-2026-3841","UBUNTU-CVE-2026-76217","DEBIAN-CVE-2026-76217","CGA-cj3f-gr5f-wx6q","CGA-h58c-cm48-p3m5","CGA-pwm7-rg8c-rrqx","CGA-g84c-6hr6-x5h9","CGA-q23g-x2rc-h26p","CGA-qqq9-cc96-r9j8","CGA-vr89-8cfr-399m"],"status":"published","duplicateOf":null,"title":null,"description":"GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with full file contents returned in GitCommandError.stderr.","dates":{"published":"2026-08-19T14:02:02.061Z","modified":"2026-10-08T15:25:00.070Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00412,"percentile":0.34066,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.052000000000000046,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0036},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00412,"percentile":0.34066}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00412,"percentile":0.34066}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GITPYTHON-DEVELOPERS_GITPYTHON","name":"Gitpython","source":"github","url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wfm5-v35h-vwf4","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"}],"affected":[{"vendor":"chainguard","product":"awx","name":"awx","label":"awx","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/awx","purlType":"apk","versions":[{"text":"< 24.6.1-r49","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 24.6.1-r49","eol":null,"hubHref":null},{"vendor":"chainguard","product":"checkov","name":"checkov","label":"checkov","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/checkov","purlType":"apk","versions":[{"text":"< 3.3.9-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.9-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"opal","name":"opal","label":"opal","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opal","purlType":"apk","versions":[{"text":"< 0.9.6-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6-r5","eol":null,"hubHref":null},{"vendor":"wolfi","product":"checkov","name":"checkov","label":"checkov","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/checkov","purlType":"apk","versions":[{"text":"< 3.3.9-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.9-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"python-git","name":"python-git","label":"python-git","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-git","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 3.1.61-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 3.1.61-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-git","name":"python-git","label":"python-git","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-git","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gitpython_project","product":"gitpython","name":"gitpython","label":"gitpython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.58","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.58","eol":null,"hubHref":"/vendor/gitpython_project/gitpython"},{"vendor":"gitpython-developers","product":"gitpython","name":"GitPython","label":"gitpython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.58","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.58","eol":null,"hubHref":"/vendor/gitpython-developers/gitpython"},{"vendor":"PyPI","product":"gitpython","name":"gitpython","label":"gitpython","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/gitpython","purlType":"pypi","versions":[{"text":"< 3.1.58","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.58","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc","label":"github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc","hostname":"github.com","tags":["Vendor Advisory","WEB","REPORT","Advisory","Exploit"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file","label":"www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-pathspec-from-file","hostname":"www.vulncheck.com","tags":["Third Party Advisory","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76217","label":"nvd.nist.gov/vuln/detail/CVE-2026-76217","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/gitpython-developers/GitPython/pull/2204","label":"github.com/gitpython-developers/GitPython/pull/2204","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c","label":"github.com/gitpython-developers/GitPython/commit/f2550b65bf60ca087190981e2c7b6865e201f40c","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/gitpython-developers/GitPython","label":"github.com/gitpython-developers/GitPython","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58","label":"github.com/gitpython-developers/GitPython/releases/tag/3.1.58","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/gitpython","label":"pypi.org/project/gitpython","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-hh9p-6wh2-4mfc","label":"github.com/advisories/GHSA-hh9p-6wh2-4mfc","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-76217","label":"ubuntu.com/security/CVE-2026-76217","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-76217","label":"www.cve.org/CVERecord?id=CVE-2026-76217","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-76217","label":"security-tracker.debian.org/tracker/CVE-2026-76217","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76217.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76217.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":["GHSA-W672-239G-C3GR"],"downstream":["OPENSUSE-SU-2026:11566-1","OPENSUSE-SU-2026:21874-1","SUSE-SU-2026:4072-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11566-1","OPENSUSE-SU-2026:21874-1","SUSE-SU-2026:4072-1"]},"timeline":[{"kind":"published","date":"2026-08-19T14:02:02.061Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T15:25:00.070Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:29:01.788Z","stale":false,"partial":false}}