{"answers":{"affected":"3 open source packages ship an affected version, including urllib3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-50182 in the wild and no public exploit code.","fix":"Upgrade urllib3 to 2.5.0 or later.","what":"CVE-2025-50182 is a medium-severity vulnerability in urllib3, published on 19 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-50182 and fix it if it is affected.\n\nWhat it is: CVE-2025-50182 is a medium-severity vulnerability in urllib3, published on 19 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-50182 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- urllib3 (PyPI): affected from 2.2.0; fixed in 2.5.0\n- urllib3 (PyPI): affected from 2.2.0; fixed in 2.5.0\n- urllib3 (PyPI): affected from 2.2.0; fixed in 2.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-50182/ (Markdown: https://insights.sbomify.com/CVE-2025-50182/index.md)","id":"CVE-2025-50182","markdown":"https://insights.sbomify.com/CVE-2025-50182/index.md","name":"CVE-2025-50182","record":{"aliases":["BELL-CVE-2025-50182","DEBIAN-CVE-2025-50182","ECHO-3380-b531-9695","GHSA-48p4-8xcf-vxj5","MINI-2xp2-hhm7-7x36","MINI-33pg-98jg-5x3q","MINI-cw43-9g4j-7qfj","MINI-fxx6-6gfc-q5pv","MINI-r6mx-wf87-j772","MINI-x5xw-x889-9w7w","PYSEC-2026-1997","ROOT-APP-PYPI-CVE-2025-50182"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python HTTP client library","requires_auth":"low_privilege","summary":"urllib3 fails to enforce redirect controls in Pyodide environments, allowing attackers to bypass redirect restrictions in browser or Node.js contexts.","user_interaction":"not_required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"urllib3","vendor":"python"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. This issue has been patched in version 2.5.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"urllib3 does not control redirects in browsers and Node.js","id":"CVE-2025-50182","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"OpenList (frontend) allows XSS Attacks in the built-in Markdown Viewer","id":"CVE-2025-50183"},"packages":[{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["2.2.0"],"last_affected":[],"package":"urllib3","purl":null,"source":"GHSA-48p4-8xcf-vxj5"},{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["2.2.0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"GHSA-48p4-8xcf-vxj5"},{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["2.2.0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"PYSEC-2026-1997"}],"prev":{"headline":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","id":"CVE-2025-50181"},"products":["urllib3"],"published":"2025-06-19","related":[{"cvss_score":8.9,"headline":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","id":"CVE-2026-97689","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.9,"headline":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","id":"CVE-2026-44432","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":8.9,"headline":"urllib3 vulnerable to decompression-bomb safeguard bypass when following HTTP redirects (streaming API)","id":"CVE-2026-21441","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":8.9,"headline":"urllib3 allows an unbounded number of links in the decompression chain","id":"CVE-2025-66418","kev_date_added":null,"published":"2025-12-05"},{"cvss_score":8.9,"headline":"urllib3 Streaming API improperly handles highly compressed data","id":"CVE-2025-66471","kev_date_added":null,"published":"2025-12-05"},{"cvss_score":8.2,"headline":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","id":"CVE-2026-44431","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":7.6,"headline":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","id":"CVE-2026-97687","kev_date_added":null,"published":"2026-09-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-22","vendors":["urllib3"]},"summary":"urllib3 fails to enforce redirect controls in Pyodide environments, allowing attackers to bypass redirect restrictions in browser or Node.js contexts.","url":"https://insights.sbomify.com/CVE-2025-50182/"}