# CVE-2025-21620: Deno's authorization headers not dropped when redirecting cross-origin

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-01-06T22:26:40.723Z
- Modified: 2026-06-17T08:43:52.293Z
- Also known as: GHSA-f27p-cmv8-xhm6
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. When you send a request with the Authorization header to one domain, and the response asks to redirect to a different domain, Deno'sfetch() redirect handling creates a follow-up redirect request that keeps the original Authorization header, leaking its content to that second domain. This vulnerability is fixed in 2.1.2.

(As written by CVE List.)

## Affected

- denoland deno: < 2.1.2
- deno_fetch (crates.io): from 0.0.1 before 0.204.0
- deno (crates.io): up to 1.46.3; from 2.0.0 before 2.1.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-f27p-cmv8-xhm6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-21620> (advisory)
- <https://github.com/denoland/deno> (package)

## Sources

- CVE List: [CVE-2025-21620](https://www.cve.org/CVERecord?id=CVE-2025-21620), CVE Terms of Use, modified 2025-01-07
- GitHub Advisory Database: [GHSA-f27p-cmv8-xhm6](https://github.com/advisories/GHSA-f27p-cmv8-xhm6), CC-BY-4.0, modified 2025-01-07
- NVD: [CVE-2025-21620](https://nvd.nist.gov/vuln/detail/CVE-2025-21620), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21620 · Whole record: https://cve.day/CVE-2025-21620.json · Rebuilt by cve.day 2026-11-25T22:58:53.129Z
