CVE-2026-54264: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker
Affects @angular/service-workerSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 22.0.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 22.0.1, 21.2.17, 20.3.25
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade @angular/service-worker to 22.0.1; @angular/service-worker to 21.2.17; @angular/service-worker to 20.3.25.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@angular/service-worker | Affected
| Fixed in
|
| npm@angular/service-worker | Affected
| Fixed in
|
| npm@angular/service-worker | Affected
| Fixed in
|
| npm@angular/service-worker | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
An information disclosure vulnerability exists in the `@angular/service-worker` package of the Angular framework. When the Service Worker fetches assets, it preserves metadata (such as headers) from the original request. However, on cross-origin redirects, the Service Worker fails to strip sensitive headers, violating the Fetch redirect algorithm. This allows a remote attacker to obtain sensitive credentials (e.g., `Authorization` tokens, `Proxy-Authorization` credentials, or session cookies) by triggering a cross-origin redirect to an untrusted external origin. ### Impact If an application configured with the Angular Service Worker fetches assets with credential headers (such as `Authorization` header), and one of those requests is redirected to a different origin, the Service Worker will forward those headers to the new origin. This exposes critical credentials and session identifiers to unauthorized third-party servers. ### Attack Preconditions For this vulnerability to be exploitable: 1. **Vulnerable Configuration:** The application must utilize the `@angular/service-worker` package to fetch assets. 2. **Credentialed Requests:** The application must attach sensitive request headers (like `Authorization`, `Proxy-Authorization`, or rely on cookies) to asset-group requests. 3. **Redirect Flow:** These requests must encounter a cross-origin redirect to an attacker-controlled or untrusted domain. ### Patched Versions * 22.0.1 * 21.2.17 * 20.3.25 ### Credits This vulnerability was discovered and reported by [CodeMender from Google DeepMind](https://deepmind.google/blog/introducing-codemender-an-ai-agent-for-code-security/).
References
- github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54264 (opens in a new tab)
- github.com/angular/angular/pull/69029 (opens in a new tab)
- github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08 (opens in a new tab)
- github.com/angular/angular (opens in a new tab)