Read the docs

Arbitrary file write in lastversion via tar symlink members

Priority MEDIUM 47CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

lastversion before 3.6.20 contains a path traversal flaw in extract_tar() that lets attackers write files outside the extraction directory. The flaw is in how symlinks inside a tar archive are followed (CWE-59), so an attacker who controls a project's release assets can craft a tarball that writes files such as usercustomize.py and achieve code execution. The attack requires user interaction, and the CVSS 4.0 vector rates the impact on confidentiality, integrity and availability as high.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00738 50th percentileScored 2026-11-30
Fix Fixed lastversion (dvershinin): 3.6.20

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dvershininlastversionbefore 3.6.203.6.20Patch availableCNA
  • lastversion Vendordvershinin Affected before 3.6.20 Fixed in 3.6.20 Patch available CNA

Remediation

Upgrade lastversion to version 3.6.20, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA lastversion (dvershinin) Fixed in 3.6.20

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137539
  2. 2026-11-27 Alias added: GHSA-r9g7-m2v3-69vq
  3. 2026-11-27 CISA SSVC decision points changed

References

Sources