Skip to content

requests-2.32.5-py3-none-any.whl: 4 vulnerabilities (highest severity is: 8.6) [main] #7

@mend-developer-platform-dev

Description

@mend-developer-platform-dev
📂 Vulnerable Library - requests-2.32.5-py3-none-any.whl

Python HTTP for Humans.

Path to dependency file: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251209101947_QHYAID/python_ZXMCMM/202512091019481/env/lib/python3.9/site-packages/requests-2.32.5.dist-info

Findings

Finding Severity 🎯 CVSS Exploit Maturity EPSS Library Type Fixed in Remediation Available
CVE-2026-21441 🔴 High 8.6 Not Defined < 1% urllib3-2.6.1-py3-none-any.whl Transitive N/A
CVE-2026-44432 🔴 High 8.6 Not Defined < 1% urllib3-2.6.1-py3-none-any.whl Transitive N/A
CVE-2026-44431 🟠 Medium 5.9 Not Defined < 1% urllib3-2.6.1-py3-none-any.whl Transitive N/A
CVE-2026-25645 🟠 Medium 4.4 Not Defined < 1% requests-2.32.5-py3-none-any.whl Direct https://github.com/psf/requests.git - v2.33.0

Details

🔴CVE-2026-21441

Vulnerable Library - urllib3-2.6.1-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/bc/56/190ceb8cb10511b730b564fb1e0293fa468363dbad26145c34928a60cb0c/urllib3-2.6.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251209101947_QHYAID/python_ZXMCMM/202512091019481/env/lib/python3.9/site-packages/urllib3-2.6.1.dist-info

Dependency Hierarchy:

  • requests-2.32.5-py3-none-any.whl (Root Library)
    • urllib3-2.6.1-py3-none-any.whl (Vulnerable Library)

Vulnerability Details

urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decoding or decompression based on the HTTP "Content-Encoding" header (e.g., "gzip", "deflate", "br", or "zstd"). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting "preload_content=False" when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when "preload_content=False". If upgrading is not immediately possible, disable redirects by setting "redirect=False" for requests to untrusted source.

Publish Date: Jan 07, 2026 10:09 PM

URL: CVE-2026-21441

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 8.6


Suggested Fix

Type: Upgrade version

Origin: GHSA-38jv-5279-wg99

Release Date: Jan 07, 2026 10:15 PM

Fix Resolution : urllib3 - 2.6.3,https://github.com/urllib3/urllib3.git - 2.6.3,urllib3 - 2.6.3

🔴CVE-2026-44432

Vulnerable Library - urllib3-2.6.1-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/bc/56/190ceb8cb10511b730b564fb1e0293fa468363dbad26145c34928a60cb0c/urllib3-2.6.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251209101947_QHYAID/python_ZXMCMM/202512091019481/env/lib/python3.9/site-packages/urllib3-2.6.1.dist-info

Dependency Hierarchy:

  • requests-2.32.5-py3-none-any.whl (Root Library)
    • urllib3-2.6.1-py3-none-any.whl (Vulnerable Library)

Vulnerability Details

Impact urllib3's "streaming API" (https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decompression based on the HTTP "Content-Encoding" header (e.g., "gzip", "deflate", "br", or "zstd"). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption. However, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases: 1. During the second "HTTPResponse.read(amt=N)" call when the response was decompressed using the official "Brotli" (https://pypi.org/project/brotli/) library. 2. When "HTTPResponse.drain_conn()" was called after the response had been read and decompressed partially (compression algorithm did not matter here). These issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side. Affected usages Applications and libraries using urllib3 versions earlier than 2.7.0 may be affected when streaming compressed responses from untrusted sources in either of these cases, unless decompression is explicitly disabled: 3. A response encoded with "br" is read incrementally with at least two "HTTPResponse.read(amt=N)" or "HTTPResponse.stream(amt=N)" calls while using the official "Brotli" (https://pypi.org/project/brotli/) library. 4. "HTTPResponse.drain_conn()" is called after response decompression has already started. Remediation Upgrade to at least urllib3 version 2.7.0 in which the library: 5. Is more efficient for reads with Brotli. 6. Always skips decompression for "HTTPResponse.drain_conn()". If upgrading is not immediately possible, the following workarounds may reduce exposure in specific cases: 7. For the Brotli-specific issue only, switch from "brotli" (https://pypi.org/project/brotli/) to "brotlicffi" (https://pypi.org/project/brotlicffi/) until you can upgrade urllib3; the official Brotli package is affected because of google/brotli#1396. 8. If your code explicitly calls "HTTPResponse.drain_conn()", call "HTTPResponse.close()" instead when connection reuse is not important. Credits The Brotli-specific issue was reported by @kimkou2024. "HTTPResponse.drain_conn()" inefficiency was reported by @Cycloctane.

Publish Date: May 16, 2026 12:15 PM

URL: CVE-2026-44432

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 8.6


Suggested Fix

Type: Upgrade version

Origin:

Release Date:

Fix Resolution :

🟠CVE-2026-44431

Vulnerable Library - urllib3-2.6.1-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/bc/56/190ceb8cb10511b730b564fb1e0293fa468363dbad26145c34928a60cb0c/urllib3-2.6.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251209101947_QHYAID/python_ZXMCMM/202512091019481/env/lib/python3.9/site-packages/urllib3-2.6.1.dist-info

Dependency Hierarchy:

  • requests-2.32.5-py3-none-any.whl (Root Library)
    • urllib3-2.6.1-py3-none-any.whl (Vulnerable Library)

Vulnerability Details

Impact When following cross-origin redirects for requests made using urllib3’s high-level APIs, such as "urllib3.request()", "PoolManager.request()", and "ProxyManager.request()", sensitive headers — "Authorization", "Cookie", and "Proxy-Authorization" (defined in "Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT") — are stripped by default, as expected. However, cross-origin redirects followed from the low-level API via "ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)" still forward these sensitive headers. Affected usage Applications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through "HTTPConnection.urlopen()" instances created via "ProxyManager.connection_from_url()". Remediation Upgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by "HTTPConnection". If upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to "ProxyManager.request()".

Publish Date: May 14, 2026 11:02 PM

URL: CVE-2026-44431

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 5.9


Suggested Fix

Type: Upgrade version

Origin:

Release Date:

Fix Resolution :

🟠CVE-2026-25645

Vulnerable Library - requests-2.32.5-py3-none-any.whl

Python HTTP for Humans.

Library home page: https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /tmp/ws-ua_20251209101947_QHYAID/python_ZXMCMM/202512091019481/env/lib/python3.9/site-packages/requests-2.32.5.dist-info

Dependency Hierarchy:

  • requests-2.32.5-py3-none-any.whl (Vulnerable Library)

Vulnerability Details

Impact 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 reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Affected usages Standard usage of the Requests library is not affected by this vulnerability. Only applications that call "extract_zipped_paths()" directly are impacted. Remediation Upgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location. If developers are unable to upgrade, they can set "TMPDIR" in their environment to a directory with restricted write access.

Publish Date: Mar 28, 2026 09:36 AM

URL: CVE-2026-25645

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 4.4


Suggested Fix

Type: Upgrade version

Origin: psf/requests@66d21cb

Release Date: Mar 25, 2026 05:02 PM

Fix Resolution : https://github.com/psf/requests.git - v2.33.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions