CVE-2026-137539

8.8High

Published Nov 26, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.8CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-59

What an attacker gets

Attackers can achieve arbitrary code execution by crafting malicious tarballs that write files outside the intended directory. This requires a user to trigger the extraction of a compromised release asset.

Root cause

The extract_tar function fails to validate symlink targets, allowing path traversal during archive extraction.

Affected versions

lastversion before 3.6.20

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to lastversion 3.6.20 or later. Avoid using the tool to download and extract untrusted third-party release assets until patched.

remediation — bash
$ pip install --upgrade lastversion

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-137539

More fully triaged vulnerabilities you may want to check next.