CVE-2026-137539 lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members
HighCVSS 8.7
EPSS 0.74%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi lastversion | < 3.6.20 | 3.6.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lastversion | < 3.6.20 | 3.6.20 |
References
- github.com issue-tracking
- github.com patch
- lastversion v3.6.20 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members third-party-advisory
- ENISA EUVD EUVD-2026-136870 third-party-advisory