# CVE-2020-11021: HTTP request which redirect to another hostname do not strip authorization header in Actions Http-Client

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.78% (percentile 79, 2026-11-26)
- **CWE:** CWE-200
- **Aliases:** GHSA-9w6v-m7wp-jwg4
- **Published:** 2020-04-29T17:58:53.000Z
- **Modified:** 2026-07-08T06:00:04.038Z

## Who should check

- Projects that depend on npm package @actions/http-client (\< 1.0.8)
- Anyone running actions http-client \< 1.0.8

## 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 and fixed versions

- npm `@actions/http-client`: affected \< 1.0.8; fixed 1.0.8 (osv)
- actions http-client: \< 1.0.8 (cvelist)

## Mitigation

- Upgrade @actions/http-client to 1.0.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-11021. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-11021.md
Affected: @actions/http-client < 1.0.8
Fixed in: 1.0.8

Steps:
1. Search this machine and project for @actions/http-client (npm), actions http-client: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-11021 being exploited?

There is no confirmed exploitation: CVE-2020-11021 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-11021?

Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2020-11021?

@actions/http-client \< 1.0.8.

### Is there a fix for CVE-2020-11021?

Yes. Fixed in 1.0.8. Upgrade @actions/http-client to 1.0.8 or later.

### How do I check if I'm affected by CVE-2020-11021?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/actions/http-client/security/advisories/GHSA-9w6v-m7wp-jwg4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-11021>
- patch: <https://github.com/actions/http-client/pull/27>
- patch: <https://github.com/actions/http-client/commit/f6aae3dda4f4c9dc0b49737b36007330f78fd53a>
- other: <https://github.com/actions/http-client>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-11021>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9w6v-m7wp-jwg4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-11021> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-11021>
