What is CVE-2026-137539?
CVE-2026-137539 is a high-severity vulnerability in dvershinin lastversion, published on 26 Nov 2026.
Official 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.
Weakness: CWE-59
How severe is CVE-2026-137539?
CVE-2026-137539 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- High
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
Which versions are affected by CVE-2026-137539?
1 open source package ship an affected version, including lastversion.
| Package | Affected | Fixed in |
|---|---|---|
lastversion PyPIpkg:pypi/lastversion | All versions | 3.6.20 |
Linux distribution packages 1
python-lastversion openSUSE:Tumbleweedpkg:rpm/opensuse/python-lastversion | All versions | 3.6.20-1.1 |
Status by vendor 1
| Who | Release | Status | Packages |
|---|---|---|---|
| openSUSE | Tumbleweed | fixed | python-lastversion (3.6.20-1.1)pkg:rpm/opensuse/python-lastversion |
How do I fix CVE-2026-137539?
Upgrade lastversion to 3.6.20 or later.
Is CVE-2026-137539 being exploited?
There is no known exploitation of CVE-2026-137539 in the wild and no public exploit code.
Sources
Also known as GHSA-r9g7-m2v3-69vq, openSUSE-SU-2026:12718-1.