PyPI
CVE-2026-137539
lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members
- Severity
- High 8.7
- Published
- 26 Nov 2026
- Last changed
- 27 Nov 2026
- Added to UpHeron
- 26 Nov 2026
- Fixed in
- 3.6.20
- Exploit chance
- 0.7% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 29 Nov 2026
- Weakness
- Link following (CWE-59)
- Attack
- Over the network · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
lastversion before 3.6.20 contains a path traversal vulnerability in extract_tar() that allows attackers to write files outside the extraction directory via tar symlink members. Attackers controlling a project's release assets can craft a tarball with a symlink followed by a file beneath it, writing files like usercustomize.py to achieve code execution.
Affected software
| Software | Affected versions |
|---|---|
lastversionPyPI · osv:PyPI:lastversion |
|
About lastversion
- Weekly downloads (PyPI)
- 5,578PyPI Stats, 26 Nov 2026
This is the only vulnerability in lastversion in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137539