GHSA-r9g7-m2v3-69vqHighCVSS 8.8
lastversion before 3.6.20 contains a path traversal vulnerability in extract_tar() that allows...
🔗 CVE IDs covered (1)
📋 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 (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-137539
- https://github.com/dvershinin/lastversion/issues/246
- https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf
- https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391
- https://github.com/dvershinin/lastversion/releases/tag/v3.6.20
- https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members
- https://github.com/advisories/GHSA-r9g7-m2v3-69vq