CVE-2026-137539
published high CVSS 4.0 · 8.7lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dvershinin | — | lastversion0 to < 3.6.20 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lastversionaarch64 | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lastversionppc64le | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lastversions390x | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-lastversionx86_64 | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lastversionaarch64 | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lastversionppc64le | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lastversions390x | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-lastversionx86_64 | Advisory build | 3.6.20-1.1 | OPENSUSE-SU-2026:12718-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dvershinin | lastversion | 0 to < 3.6.20 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391
- https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf
- https://github.com/dvershinin/lastversion/issues/246
- lastversion v3.6.20 Release Notes https://github.com/dvershinin/lastversion/releases/tag/v3.6.20
- VulnCheck Advisory: lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members
Provider assertions
2VulnCheck · cna
lastversion before 3.6.20 Arbitrary File Write via Tar Symlink Members
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4e22ef980fea9b63c5c7f6807a10c9f5d25f1c33cb816455bc465eb1b1fbbcc1
- Ingested
- 27 Nov 2026, 16:31:48 UTC
- Source record
- Official CVE record