Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137539: high-severity vulnerability (CVSS 8.7) in dvershinin lastversion.
What happened
Original description from the source: 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
High severity, CVSS 8.7.
Affected products and versions
dvershinin lastversion < 3.6.20
| Product | Versions | Fixed in |
|---|---|---|
| dvershinin lastversion | < 3.6.20 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/dvershinin/lastversion/issues/246 — CVE Program
- https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf — CVE Program
- https://github.com/dvershinin/lastversion/releases/tag/v3.6.20 — CVE Program
- https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391 — CVE Program
- https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members — CVE Program
Weaknesses (CWE): CWE-59
Relevant change history
Published
Preliminary advisory published.