Insecure Temporary File in Requests - CVE-2026-25645
Published: July 2, 2026
Requests
Detailed vulnerability description
The vulnerability allows a local user to overwrite or substitute extracted files.
The vulnerability exists due to insecure temporary file handling in requests.utils.extract_zipped_paths() when extracting files from zip archives into the system temporary directory. A local user can pre-create a malicious file to overwrite or substitute extracted files.
Only applications that call extract_zipped_paths() directly are affected. User interaction is required to process a crafted zip archive.