CVE-2026-137539
lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.74% (p51)
- Published
- 2026-11-26
- Age
- 2d old
- Modified
- 2026-11-28
- Product
- dvershinin lastversion
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
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.
Fixed in
3.6.20
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | lastversion | >=0, <3.6.20 | 3.6.20 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 2d ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/dvershinin/lastversion/issues/246 issue-tracking
- https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf patch
- https://github.com/dvershinin/lastversion/releases/tag/v3.6.20 release-notes
- https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391 technical-description
- https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137539.json advisory
- https://github.com/dvershinin/lastversion package
- https://nvd.nist.gov/vuln/detail/CVE-2026-137539 advisory