Skip to content
OpenAdvisories
High · 8.8 CVE-2026-137539 EUVD-2026-136870GHSA-r9g7-m2v3-69vq

lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members

Published Nov 26, 2026 · Updated Nov 27, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
dvershinin lastversion < 3.6.20 3.6.20

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-lastversion 3.6.20-1.1 openSUSE-SU-2026:12718-1

Advisories 1

References