CVE-2026-137539 PUBLISHED

lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor dvershinin
Product lastversion
Versions Default: unaffected
  • affected from 0 to 3.6.20 (excl.)

Credits

  • Dilanka Kaushal Hewage (r3vpwnx) finder

References

Problem Types

  • Improper Link Resolution Before File Access ('Link Following') CWE