Summary
It was discovered that Requests did not correctly handle generating
random temporary file paths. An attacker could possibly use this issue
to execute arbitrary code.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | requests | 2.25.1+dfsg-2ubuntu0.4 |
| Ubuntu · 24.04 LTS 24.04:LTS | requests | 2.31.0+dfsg-1ubuntu1.2 |
| Ubuntu · 26.04 LTS 26.04:LTS | requests | 2.32.5+dfsg-1ubuntu1.1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | requests | 2.22.0-2ubuntu1.1+esm2 |
Vulnerabilities 1
-
Medium 4.4CVE-2026-25645 Public exploit
Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is…
References
-
report
https://ubuntu.com/security/CVE-2026-25645