Vulnocalypse
Back to feed
33impact

CPython: [CVE-2026-114583] tarfile.tar_filter path traversal bypass allows writing outside the extraction directory

Python Software Foundation CPython · CVE-2026-114583
0 news outlets0 CERTs and agencies1 researchers

What is it?

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

Evidence

Research (1)

Exploitation

  • Public proof of concept
  • Exploited in the wild
  • Listed as known exploited
CVSS
6.9
EPSS
–
First seen
4 h ago
Status
corroborated

All Python Software Foundation vulnerabilities