{"id":"CVE-2026-73622","published":"2026-08-13T11:28:22Z","modified":"2026-10-08T15:24:42Z","title":"GitPython before 3.1.55 Environment Variable Exfiltration via Remote.add()","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"GitPython before 3.1.55 fails to disable environment variable expansion in Remote.create() and Submodule.add() URL handling, allowing attackers to exfiltrate secrets by supplying URLs containing variable references. Attackers can craft URLs with environment variable tokens that are expanded into .git/config and .gitmodules, then transmitted to attacker-controlled hosts during fetch or pull operations.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00514,"percentile":0.44648,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-94p4-4cq8-9g67","tags":["vendor-advisory"]},{"url":"https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-environment-variable-exfiltration-via-remote-add","tags":["third-party-advisory"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.93},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.55"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.55"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T12:56:43.368192Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gitpython","vulnerableRanges":["<3.1.55"],"patched":["3.1.55"],"from":["PYSEC-2026-3951"],"provenance":"source"}],"summary":{"text":"GitPython versions before 3.1.55 fail to disable environment variable expansion when handling URLs in Remote.create() and Submodule.add(). The flaw leaves the component open to information exposure. An attacker who supplies a crafted URL containing environment variable tokens can have those values expanded into .git/config and .gitmodules, and transmitted to an attacker-controlled host during fetch or pull operations, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:34Z"},"euvd":{"id":"EUVD-2026-57826","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitpython-developers-gitpython-cve-2022-24439","parents":[{"from":"CVE-2022-24439","to":"CVE-2026-73622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/repo/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/2625ed9fc074091c531c27ffcba7902771130261","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"],"basis":"shared function","functions":["_clone"]}]},{"from":"CVE-2023-40267","to":"CVE-2026-73622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/repo/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/ca965ecc81853bca7675261729143f54e5bf4cdd","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"],"basis":"shared function","functions":["_clone"]}]},{"from":"CVE-2024-22190","to":"CVE-2026-73622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/util.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/ef3192cc414f2fd9978908454f6fd95243784c7f","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"],"basis":"rarely changed file"}]},{"from":"CVE-2026-67323","to":"CVE-2026-73622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/remote.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/701ce32fe5ba8cb622c0e0342a376a6beb47d738","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"],"basis":"shared function","functions":["_clone"]}]}],"children":[{"from":"CVE-2026-73622","to":"CVE-2026-100689","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/objects/submodule/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/1ed0ebc2f2e74d979cdc367a4864a7731fdcc093","https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-73623","published":"2026-08-13","fixed":"3.1.54","kev":false},{"cve":"CVE-2026-73624","published":"2026-08-13","fixed":"3.1.54","kev":false},{"cve":"CVE-2026-73625","published":"2026-08-13","fixed":"3.1.54","kev":false,"link":{"from":"CVE-2026-73625","to":"CVE-2026-73622","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.54","toFixed":"3.1.55","daysApart":0},{"kind":"same-code","provenance":"machine","files":["git/cmd.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/8ac5a30519b6f4af85398b9b9d7064ff4d452da2","https://github.com/gitpython-developers/GitPython/commit/863417457a0633db7ea5aed4fd01e0b291a41162","https://github.com/gitpython-developers/GitPython/commit/e8d0fbf774d1f6baa3b481adfe48bd262e43b453"],"basis":"shared file"}]}},{"cve":"CVE-2026-73622","published":"2026-08-13","fixed":"3.1.55","kev":false},{"cve":"CVE-2026-73621","published":"2026-08-13","fixed":"3.1.56","kev":false,"link":{"from":"CVE-2026-73622","to":"CVE-2026-73621","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.55","toFixed":"3.1.56","daysApart":0}]}},{"cve":"CVE-2026-73619","published":"2026-08-13","fixed":"3.1.57","kev":false},{"cve":"CVE-2026-73620","published":"2026-08-13","fixed":"3.1.57","kev":false}],"package":"PyPI:gitpython"}}