{"id":"CVE-2026-137539","summary":"lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members","details":"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.","modified":"2026-11-26T23:00:57.526014315Z","published":"2026-11-26T20:02:31.981Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137539.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137539.json"},{"type":"PACKAGE","url":"https://github.com/dvershinin/lastversion"},{"type":"ARTICLE","url":"https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391"},{"type":"FIX","url":"https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf"},{"type":"REPORT","url":"https://github.com/dvershinin/lastversion/issues/246"},{"type":"ADVISORY","url":"https://github.com/dvershinin/lastversion/releases/tag/v3.6.20"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137539"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dvershinin/lastversion","events":[{"introduced":"0"},{"fixed":"6d42869a800fe0f352ff76411ffad0484abe43d1"},{"fixed":"feb362e7af52c03063755dbbce82ff53ff4bafbf"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"3.6.20"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"feb362e7af52c03063755dbbce82ff53ff4bafbf"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v3.6.20","range":[{"fixed":"6d42869a800fe0f352ff76411ffad0484abe43d1"}],"source":"REFERENCES_TAG"}]}}],"versions":["v3.6.19","v3.6.18","v3.6.17","v3.6.16","v3.6.15","v3.6.14","v3.6.13","v3.6.12","v3.6.11","v3.6.10","v3.6.9","v3.6.8","v3.6.7","v3.6.6","v3.6.5","v3.6.4","v3.6.3","v3.6.2","v3.6.1","v3.6.0","v3.5.12","v3.5.11","v3.5.10","v3.5.8","v3.5.7","v3.5.6","v3.5.5","v3.5.4","v3.5.3","v3.5.2","v3.5.1","v3.5.0","v3.4.6","v3.4.5","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.1","v3.0.1","v3.0.0","v2.4.15","v2.4.14","v2.4.13","v2.4.12","v2.4.11","v2.4.10","v2.4.9","v2.4.8","v2.4.7","v2.4.5","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.2","v2.2.1","v2.1.0","v2.0.1","v2.0.0","v1.6.0","v1.5.1","v1.5.0","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.1","v1.0.0","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","0.1.2","0.1.1","0.1.0","v0.0.14","0.0.14","0.0.13","0.0.12","0.0.11","0.0.10","0.0.9","0.0.8","0.0.7","0.0.6","0.0.5","0.0.4","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137539.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}