CVE-2026-137539 lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members

Published Updated

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
3.6.20
Attack path
Over the network
No login, a user must click or open something

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.

PackageAffectedFixed in
lastversion PyPI
pkg:pypi/lastversion
All versions3.6.20
Linux distribution packages 1
python-lastversion openSUSE:Tumbleweed
pkg:rpm/opensuse/python-lastversion
All versions3.6.20-1.1
Status by vendor 1
WhoReleaseStatusPackages
openSUSETumbleweedfixedpython-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.

Is CVE-2026-137539 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free