Arbitrary file write in lastversion via tar symlink members
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
lastversion before 3.6.20 contains a path traversal flaw in extract_tar() that lets attackers write files outside the extraction directory. The flaw is in how symlinks inside a tar archive are followed (CWE-59), so an attacker who controls a project's release assets can craft a tarball that writes files such as usercustomize.py and achieve code execution. The attack requires user interaction, and the CVSS 4.0 vector rates the impact on confidentiality, integrity and availability as high.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dvershinin | lastversion | before 3.6.20 | 3.6.20 | Patch available | CNA |
- lastversion Vendordvershinin Affected before 3.6.20 Fixed in 3.6.20 Patch available CNA
Remediation
Upgrade lastversion to version 3.6.20, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA lastversion (dvershinin) Fixed in 3.6.20
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137539
- 2026-11-27 Alias added: GHSA-r9g7-m2v3-69vq
- 2026-11-27 CISA SSVC decision points changed
References
Sources
- CVE-2026-137539 · CVE Program
- CVE-2026-137539 · NVD
- FIRST EPSS
- GHSA-r9g7-m2v3-69vq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences