---
title: "CVE-2026-137539: Lastversion - Path Traversal"
description: "Lastversion < 3.6.20 contains a path traversal caused by symlink members in extract_tar(), letting attackers write files outside extraction directory and achieve code execution, exploit requires crafted tarball with symlink."
url: https://panop.io/threat-heartbeat/CVE-2026-137539/
---

# CVE-2026-137539 Lastversion - Path Traversal

Lastversion < 3.6.20 contains a path traversal caused by symlink members in extract\_tar(), letting attackers write files outside extraction directory and achieve code execution, exploit requires crafted tarball with symlink.

CVSS base score 8.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137539)

## Details

Type

Path Traversal

Impact

File System Write, Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

26 November 2026

Updated

27 November 2026

Weakness

[CWE-59](https://cwe.mitre.org/data/definitions/59.html)

## Vendor fix

Update to version 3.6.20 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137539](https://nvd.nist.gov/vuln/detail/CVE-2026-137539)
- [https://github.com/dvershinin/lastversion/blob/17e18ae09ad3038bc4a09e5026405d614eacd7b7/src/lastversion/utils.py#L348-L391](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/commit/feb362e7af52c03063755dbbce82ff53ff4bafbf)
- [https://github.com/dvershinin/lastversion/issues/246](https://github.com/dvershinin/lastversion/issues/246)
- [https://github.com/dvershinin/lastversion/releases/tag/v3.6.20](https://github.com/dvershinin/lastversion/releases/tag/v3.6.20)
- [https://www.vulncheck.com/advisories/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)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
