CVE-2026-82049 tarfile extraction filters allow file modification and content disclosure via hard link to symlink

High 8.4 Published Updated

Attackers can craft tar archives to modify permissions or disclose contents of files outside the extraction directory via hard link to symlink tricks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-82049?

CVE-2026-82049 is a high-severity path traversal vulnerability in CPython, published on 14 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.

Weakness: CWE-59

Which versions are affected by CVE-2026-82049?

3 open source packages ship an affected version, including libpython, python and python-min.

PackageAffectedFixed in
libpython BitnamiAll versions3.10.22, 3.11.17, 3.12.15, 3.13.16
python BitnamiAll versions3.10.22, 3.11.17, 3.12.15, 3.13.16
python-min BitnamiAll versions3.10.22, 3.11.17, 3.12.15, 3.13.16
Linux distribution packages (8)
python SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions2.7.18-150000.136.1
python-base SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions2.7.18-150000.136.1
python SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions2.7.18-33.93.1
python-base SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions2.7.18-33.93.1
python-doc SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions2.7.18-33.93.1
python SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.7.18-33.93.1
python-base SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.7.18-33.93.1
python-doc SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions2.7.18-33.93.1

How do I fix CVE-2026-82049?

Upgrade libpython to a fixed version for your release line: 3.10.22, 3.11.17, 3.12.15 or 3.13.16.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-82049 being exploited?

There is no known exploitation of CVE-2026-82049 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-82049, AZL-101784, AZL-101832, BELL-CVE-2026-82049, BIT-libpython-2026-82049, BIT-python-2026-82049 and 21 more.

Is CVE-2026-82049 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free