KeygraphLabs · CVE MCP

CVE-2018-20060 · mitre

CVE-2018-20060

urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the Authorization header to be exposed to unintended hosts or transmitted in cleartext.

Published 2018-12-11, last changed 2026-06-17.

CVSS
9.8
critical, from NVD
EPSS
4.49%
percentile 91.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: urllib3 1.23 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in urllib3/urllib3 by pull request #1346, 560bd227b9, 7c216f433e. Functions changed by the fix: Retry, __init__, drain_and_release_conn, urlopen. Regression tests: test/with_dummyserver/test_connectionpool.py, test/with_dummyserver/test_poolmanager.py, test/appengine/test_gae_manager.py, test/test_retry.py. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2018-12-11Published
2018-12-11Package advisory PYSEC-2018-32
2018-12-12Package advisory GHSA-www2-v7xj-xrc6
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 4.49%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-www2-v7xj-xrc6urllib3 (PyPI)1.23
PYSEC-2018-32urllib3 (PyPI)1.23

Also known as: GHSA-www2-v7xj-xrc6, PYSEC-2018-32

Related

CVEPublishedCVSSSummary
CVE-2026-976892026-09-297.5urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
CVE-2026-976882026-09-295.3urllib3: Chunked Deflate streaming can enter an infinite loop
CVE-2026-976872026-09-298.1urllib3: HTTPS proxy TLS configuration may be ignored or overridden
CVE-2026-444322026-05-137.5urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API
CVE-2026-444312026-05-135.3urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
CVE-2026-214412026-01-077.5urllib3 vulnerable to decompression-bomb safeguard bypass when following HTTP redirects (streaming API)
CVE-2025-664712025-12-057.5urllib3 Streaming API improperly handles highly compressed data
CVE-2025-664182025-12-057.5urllib3 allows an unbounded number of links in the decompression chain

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2018-20060, or call /api/v1/vulnerabilities/CVE-2018-20060. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org