USN-8825-1: Requests vulnerability

Publication date

28 September 2026

Overview

Requests could be made to crash or run programs as your login if it opened a specially crafted file.


Packages

  • requests - elegant and simple HTTP library for Python

Details

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.

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.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute python3-requests –  2.32.5+dfsg-1ubuntu1.1
24.04 LTS noble python3-requests –  2.31.0+dfsg-1ubuntu1.2
22.04 LTS jammy python3-requests –  2.25.1+dfsg-2ubuntu0.4
20.04 LTS focal python3-requests –  2.22.0-2ubuntu1.1+esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›