Skip to content

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.

PackageAffectedFixed inStatus
pypi lastversion < 3.6.20 3.6.20 Fixed

Affected products

ProductAffected versionsFixed in
pypi lastversion < 3.6.20 3.6.20

References