CVE-2025-21620denoland deno
High 7.5 No auth needed
Follow: this CVE · denoland · denoland deno We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Jan 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for deno.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | deno |
≤ 1.46.3 |
no fixed version | — |
| crates.io | deno |
≥ 2.0.0 < 2.1.2 |
2.1.2 |
cargo update -p deno --precise 2.1.2 |
| crates.io | deno_fetch |
≥ 0.0.1 < 0.204.0 |
0.204.0 |
cargo update -p deno_fetch --precise 0.204.0 |
Per OSV / GitHub Advisories (GHSA-f27p-cmv8-xhm6). Check the version in your lockfile before upgrading.
Affected products
- denoland · deno
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.