
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34518 is an information disclosure vulnerability in the aiohttp asynchronous HTTP client/server framework for Python. When following HTTP redirects to a different origin, aiohttp correctly drops the Authorization header but incorrectly retains the Cookie and Proxy-Authorization headers, potentially leaking sensitive credentials to unintended third-party servers. All versions up to and including 3.13.3 are affected; the issue was patched in version 3.13.4. It was disclosed on April 1, 2026, and carries a CVSS v3.1 score of 5.3 (Medium) and a CVSS v4.0 score of 2.7 (Low) (GitHub Advisory, aiohttp Security Advisory).
The root cause is an incomplete header-stripping implementation in aiohttp's redirect-handling logic (aiohttp/client.py), classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and CWE-497. When a cross-origin redirect is detected, the code nullified the Authorization header but omitted equivalent handling for Cookie and Proxy-Authorization. The fix (commit 5351c98) adds two additional headers.pop() calls to strip these headers before following the redirect to a different origin. Exploitation requires no authentication, no user interaction, and is reachable over the network from any attacker who can control or influence a redirect target (aiohttp Security Advisory, Patch Commit).
Successful exploitation results in the unintended disclosure of Cookie and Proxy-Authorization header values to a third-party server controlled by an attacker or a malicious redirect target. These headers may contain session tokens, authentication credentials, or proxy credentials, enabling session hijacking or unauthorized access to proxied resources. There is no integrity or availability impact; the vulnerability is limited to confidentiality loss (GitHub Advisory, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.015% (3rd percentile), indicating a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (GitHub Advisory).
Cookie and/or Proxy-Authorization headers (e.g., as part of normal authenticated API usage).Cookie and Proxy-Authorization before following the redirect, origin B receives these headers in the forwarded request, allowing the attacker to harvest session tokens or proxy credentials.Cookie or Proxy-Authorization headers present in the forwarded request.Cookie or Proxy-Authorization headers that were not explicitly sent by the application to that origin.Upgrade aiohttp to version 3.13.4 or later, which drops Cookie and Proxy-Authorization headers on cross-origin redirects (commit 5351c98). No configuration-based workaround is available in older versions; the only remediation is upgrading. IBM products incorporating aiohttp (Process Mining, API Connect, watsonx Code Assistant On Prem, Instana Observability) have also released interim fixes addressing this CVE (aiohttp Release, IBM Process Mining, IBM API Connect).
The vulnerability was reported by researcher uug4na and remediated by Dreamsorcerer from the aiohttp maintainer team, who published the advisory and patch on April 1, 2026. Red Hat opened a tracking bug (Bugzilla #2454098) and classified the severity as Low. IBM issued security bulletins for multiple affected products including Process Mining, API Connect, watsonx Code Assistant, and Instana Observability. No significant broader media coverage or notable community controversy has been observed (aiohttp Security Advisory, Red Hat Bugzilla, IBM Process Mining).
Fix availability across major Linux distributions and their releases.
bookworm
python-aiohttp
sid
python-aiohttp: 3.13.5-1
trixie
python-aiohttp
bionic (esm-apps)
python-aiohttp
devel
python-aiohttp
focal (esm-apps)
python-aiohttp
jammy
python-aiohttp
jammy (esm-apps)
python-aiohttp
noble
python-aiohttp
noble (esm-apps)
python-aiohttp
resolute
python-aiohttp
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."