# CVE-2026-137539

Path traversal in lastversion (<3.6.20) allows file write outside extraction dir enabling code execution.

- Page: https://www.vulneraibility.com/cve/CVE-2026-137539
- CVSS: 8.7
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.74% (percentile 50.7)
- Weakness: CWE-59
- EUVD: EUVD-2026-136870 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-136870)
- Published: 2026-11-26

## Affected versions

- dvershinin lastversion: affected < 3.6.20

A version outside these ranges is not a statement that it is unaffected.

## Impact

Arbitrary file write via crafted tar symlink; attacker-controlled release assets can drop files (e.g., usercustomize.py) to achieve remote code execution.

## Action

Immediate action required

## Recommendation

Upgrade lastversion to >=3.6.20 and avoid extracting untrusted tarballs.

## References

- [other] https://github.com/dvershinin/lastversion/issues/246
- [patch] https://github.com/dvershinin/lastversion/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf
- [other] https://github.com/dvershinin/lastversion/releases/tag/v3.6.20
- [other] https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391
- [advisory] https://www.vulncheck.com/advisories/lastversion-before-3.6.20-arbitrary-file-write-via-tar-symlink-members
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-136870

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
