cve.bz

CVE-2025-50181 python urllib3: Open Redirect

6.1 mediumExploit referenceEPSS 0.5%Fix available

Medium (6.1) in python urllib3. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 2.5.0.

On this page
urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-50181 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-50181?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-50181?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-50181 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3before 2.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pq67-6m6q-mj2vPyPIurllib3<2.5.02.5.0
PYSEC-2026-1999PyPIurllib3<2.5.02.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-urllib31.26.5-1~exp1+deb11u2DLA-4421-1
Debian12python-urllib31.26.12-1+deb12u2DEBIAN-CVE-2025-50181
Debian13, 14python-urllib32.3.0-3DEBIAN-CVE-2025-50181
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.6UBUNTU-CVE-2025-50181 USN-7599-2
Ubuntu22.04:LTSpython-urllib31.26.5-1~exp1ubuntu0.3UBUNTU-CVE-2025-50181 USN-7599-1
Ubuntu24.04:LTSpython-pip24.0+dfsg-1ubuntu1.2UBUNTU-CVE-2025-50181 USN-7599-2
Ubuntu24.04:LTSpython-urllib32.0.7-1ubuntu0.2UBUNTU-CVE-2025-50181 USN-7599-1
UbuntuPro:16.04:LTSpython-urllib31.13.1-2ubuntu0.16.04.4+esm3UBUNTU-CVE-2025-50181 USN-7599-1
UbuntuPro:18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2+esm3UBUNTU-CVE-2025-50181 USN-7599-1
UbuntuPro:20.04:LTSpython-urllib31.25.8-2ubuntu0.4+esm1UBUNTU-CVE-2025-50181 USN-7599-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morepython-urllib31.25.10-150300.4.18.1SUSE-SU-2025:02985-1
SUSELinux Enterprise Module for Public Cloud 12, Linux Enterprise Server LTSS Extended Security 12 SP5python-urllib31.25.10-3.43.1SUSE-SU-2025:02736-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Python 3 15 SP6, Linux Enterprise Module for Python 3 15 SP7python-urllib32.0.7-150400.7.21.1SUSE-SU-2025:02735-1
SUSELinux Micro 6.0python-urllib32.1.0-3.1SUSE-SU-2025:20558-1
SUSELinux Micro 6.1python-urllib32.1.0-slfo.1.1_2.1SUSE-SU-2025:20856-1
openSUSELeap 15.6python-urllib32.0.7-150400.7.21.1SUSE-SU-2025:02735-1
openSUSETumbleweedoci-cli3.76.2-1.1openSUSE-SU-2026:10539-1
openSUSETumbleweedpython-urllib32.5.0-1.1openSUSE-SU-2025:15283-1
openSUSETumbleweedpython-urllib3_11.26.20-3.1openSUSE-SU-2025:15284-1
Azure Linux2python-urllib31.26.19-2AZL-64170
Azure Linux2python-virtualenv20.26.6-2AZL-64218
Azure Linux3python-pip24.2-5AZL-64244
Azure Linux3python-urllib32.0.7-2AZL-64175
Azure Linux3python-virtualenv20.36.1-2AZL-77823
Alpaquita23, streampy3-urllib3no fix listedBELL-CVE-2025-50181

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in the urllib3 library where it could be tricked into disclosing the Proxy-Authorization header to a destination server when a CONNECT tunnel is used. An attacker can set up a malicious redirect to a crafted URL, which, when followed by the client application, will cause the Proxy-Authorization header to be sent to the attacker-controlled server. This leaks sensitive credentials for the proxy. The impact is primarily on confidentiality. While urllib3 is a ubiquitous component, the vulnerability requires a specific scenario where a user is connecting to a proxy that requires authentication and is redirected to a malicious endpoint. This lowers the exploitability compared to a direct, unauthenticated remote attack, thus, warranting a Moderate severity rating.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1rhceph/grafana-rhel9:1781855851Fixed 2026-06-29RHSA-2026:33154
Red Hat Ceph Storage 7.1rhceph/grafana-rhel9:1791450715Fixed 2026-10-15RHSA-2026:83548
Red Hat Ceph Storage 8.1rhceph/grafana-rhel9:1787305054Fixed 2026-09-01RHSA-2026:62115
Red Hat Ceph Storage 9rhceph/grafana-rhel10:1771399331Fixed 2026-02-26RHSA-2026:3406
Red Hat Ceph Storage 9.2rhceph/rhceph-9-rhel10:1790843527Fixed 2026-10-21RHSA-2026:86618
Red Hat Quay 3.14quay/quay-rhel8:1773097621Fixed 2026-03-10RHSA-2026:4215
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Out of support scope
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Out of support scope
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Out of support scope
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-istio-csr-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-acmesolver-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Fix deferred
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Fix deferred
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-operator-bundleFix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-api-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-console-plugin-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-must-gather-rhel8Will not fix
356 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-50181.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON