What’s Vulnerable › Vulnerabilities
CVE-2020-11021: HTTP request which redirect to another hostname do not strip authorization header in Actions Http-Client
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-04-29 · updated 2026-06-17
- Weakness: CWE-200
Description
Actions Http-Client (NPM @actions/http-client) before version 1.0.8 can disclose Authorization headers to incorrect domain in certain redirect scenarios. The conditions in which this happens are if consumers of the http-client: 1. make an http request with an authorization header 2. that request leads to a redirect (302) and 3. the redirect url redirects to another domain or hostname Then the authorization header will get passed to the other domain. The problem is fixed in version 1.0.8.
Affected products
- actions http-client: before 1.0.8 — fixed in 1.0.8
How to fix
Upgrade to a fixed version: actions http-client 1.0.8. Check the vendor advisory for mitigations.
References
- https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a
- https://github.com/actions/http-client/pull/27
- https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4
- https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a
- https://github.com/actions/http-client/pull/27
- https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4
Get alerted when CVE-2020-11021 or the next vulnerability affects your stack