#VU111966 Path traversal in Python - CVE-2025-4517

 

#VU111966 Path traversal in Python - CVE-2025-4517

Published: June 26, 2025 / Updated: April 1, 2026


Vulnerability identifier: #VU111966
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2025-4517
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Python
Software vendor:
Python.org

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to input validation error in the tarfile module when extracting files from an archive with filter="data". A remote attacker can pass specially crafted archive to the application and write files to arbitrary locations on the system outside the extraction directory.


Remediation

Install updates from vendor's website.

External links