VDB
GHSA-wfm5-v35h-vwf4
GHSA-wfm5-v35h-vwf4
PUBLISHED
CVSS 7.800000190734863 HIGH
GitPython untrusted search path on Windows systems leading to arbitrary code execution
Record from GitHub Advisory Database · Published August 29, 2023
GitPython is fixed in 3.1.33 (PyPI)
GitPython untrusted search path on Windows systems leading to arbitrary code execution
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| GitPython | PyPI | 3.1.33 |
Risk scores
CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | GitPython | 0 |
| PyPI | gitpython | 3.0.4, 0.3.1-beta2, 0 |
| PyPI | GitPython | 0 |
Timeline
- Aug 29, 2023 CVE Published
- Mar 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-wfm5-v35h-vwf4
vulnetix vdb fixes GHSA-wfm5-v35h-vwf4
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-wfm5-v35h-vwf4/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wfm5-v35h-vwf4 url
- https://github.com/gitpython-developers/GitPython package
- https://nvd.nist.gov/vuln/detail/CVE-2023-40590 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2023-161.yaml url
- https://github.com/gitpython-developers/GitPython/issues/1635 discussion
- https://docs.python.org/3/library/subprocess.html#popen-constructor url
- GitHub Advisory GHSA-wfm5-v35h-vwf4 vendor-advisory
- https://github.com/gitpython-developers/GitPython/commit/8b75434e2c8a082cdeb4971cc6f0ee2bafec45bc fix
- https://github.com/gitpython-developers/GitPython/pull/1636 fix
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.33 fix