Skip to content
Heist/ feed
UnratedFix available

requests vulnerability

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

USN-8825-1

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:USN-8825-1

requests

Source reference: /affected/0/package/name

Affected versions
2.21.0-1

Source reference: /affected/0/versions

2.22.0-2build1

Source reference: /affected/0/versions

2.22.0-2ubuntu1

Source reference: /affected/0/versions

2.22.0-2ubuntu1.1

Source reference: /affected/0/versions

2.22.0-2ubuntu1.1+esm1

Source reference: /affected/0/versions

Fixed versions
2.22.0-2ubuntu1.1+esm2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

requests

Source reference: /affected/1/package/name

Affected versions
2.25.1+dfsg-2

Source reference: /affected/1/versions

2.25.1+dfsg-2ubuntu0.1

Source reference: /affected/1/versions

2.25.1+dfsg-2ubuntu0.3

Source reference: /affected/1/versions

Fixed versions
2.25.1+dfsg-2ubuntu0.4

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

requests

Source reference: /affected/2/package/name

Affected versions
2.31.0+dfsg-1ubuntu1

Source reference: /affected/2/versions

2.31.0+dfsg-1ubuntu1.1

Source reference: /affected/2/versions

Fixed versions
2.31.0+dfsg-1ubuntu1.2

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

requests

Source reference: /affected/3/package/name

Affected versions
2.32.3+dfsg-5ubuntu2

Source reference: /affected/3/versions

2.32.5+dfsg-1ubuntu1

Source reference: /affected/3/versions

Fixed versions
2.32.5+dfsg-1ubuntu1.1

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.22.0-2ubuntu1.1+esm2"
          }
        ]
      }
    ],
    "package": {
      "name": "requests",
      "purl": "pkg:deb/ubuntu/requests?arch=source&distro=esm-infra%2Ffocal",
      "ecosystem": "Ubuntu:Pro:20.04:LTS"
    },
    "versions": [
      "2.21.0-1",
      "2.22.0-2build1",
      "2.22.0-2ubuntu1",
      "2.22.0-2ubuntu1.1",
      "2.22.0-2ubuntu1.1+esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8825-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-25645",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "low"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:Pro:20.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-requests",
          "binary_version": "2.22.0-2ubuntu1.1+esm2"
        }
      ],
      "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.25.1+dfsg-2ubuntu0.4"
          }
        ]
      }
    ],
    "package": {
      "name": "requests",
      "purl": "pkg:deb/ubuntu/requests?arch=source&distro=jammy",
      "ecosystem": "Ubuntu:22.04:LTS"
    },
    "versions": [
      "2.25.1+dfsg-2",
      "2.25.1+dfsg-2ubuntu0.1",
      "2.25.1+dfsg-2ubuntu0.3"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8825-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-25645",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "low"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:22.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-requests",
          "binary_version": "2.25.1+dfsg-2ubuntu0.4"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.31.0+dfsg-1ubuntu1.2"
          }
        ]
      }
    ],
    "package": {
      "name": "requests",
      "purl": "pkg:deb/ubuntu/requests?arch=source&distro=noble",
      "ecosystem": "Ubuntu:24.04:LTS"
    },
    "versions": [
      "2.31.0+dfsg-1ubuntu1",
      "2.31.0+dfsg-1ubuntu1.1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8825-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-25645",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "low"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:24.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-requests",
          "binary_version": "2.31.0+dfsg-1ubuntu1.2"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.32.5+dfsg-1ubuntu1.1"
          }
        ]
      }
    ],
    "package": {
      "name": "requests",
      "purl": "pkg:deb/ubuntu/requests?arch=source&distro=resolute",
      "ecosystem": "Ubuntu:26.04:LTS"
    },
    "versions": [
      "2.32.3+dfsg-5ubuntu2",
      "2.32.5+dfsg-1ubuntu1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8825-1.json",
      "cves_map": {
        "cves": [
          {
            "id": "CVE-2026-25645",
            "severity": [
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"
              },
              {
                "type": "CVSS_V3",
                "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
              },
              {
                "type": "Ubuntu",
                "score": "low"
              }
            ]
          }
        ],
        "ecosystem": "Ubuntu:26.04:LTS"
      }
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-requests",
          "binary_version": "2.32.5+dfsg-1ubuntu1.1"
        }
      ],
      "availability": "No subscription required"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#22401 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement