Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Angular PWA using vulnerable service worker
-
DeliveryLure authenticated victim to load app
-
ExploitService Worker fetches credentialed asset URL
-
ExecutionAsset endpoint returns cross-origin 30x redirect
-
PersistWorker replays Authorization/Cookie to attacker origin
-
ImpactAttacker captures and reuses stolen credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires all three: (1) the target application bundles and registers @angular/service-worker (Angular PWA mode with ngsw-config.json enabling asset groups); (2) the application attaches credential headers - Authorization, Proxy-Authorization, or Cookie - to one or more asset-group requests that the Service Worker fetches; and (3) at least one such asset URL must respond with a cross-origin HTTP redirect to a domain the attacker controls or can influence (e.g., via a misconfigured CDN, an open redirect on a trusted host, or an attacker-owned origin reachable from the asset list). Exploitation also requires passive user interaction (UI:P) - the victim must visit/load the Angular application in their browser - and is limited to applications that actually send credentials with asset fetches, which is non-default behavior for typical static-asset PWAs. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N, base 8.3 High) correctly captures network reach, no authentication, and high confidentiality impact on both the vulnerable system and a subsequent system (the third-party origin receiving the leaked credentials), with passive user interaction (visiting the Angular PWA) required. No EPSS, KEV, or SSVC data is provided; this is not on CISA KEV and no public exploit identified at time of analysis, so it is not in active mass exploitation. Real-world risk is bounded by the preconditions: the application must (a) ship the Angular Service Worker, (b) attach credential headers to asset-group requests, and (c) follow a cross-origin redirect - a non-default but plausible chain, particularly for apps using CDNs, auth proxies, or open-redirect-prone endpoints in their asset URLs. Treat as a high-priority dependency bump for any Angular PWA that authenticates asset fetches; lower urgency for SPAs that fetch only same-origin static assets without Authorization headers. |
| Exploit ScenarioDerived | An attacker who controls a domain (or finds an open redirect on a trusted origin) lures a logged-in user of a vulnerable Angular PWA to a page that triggers the Service Worker to fetch a configured asset URL; that asset endpoint responds with a 30x redirect to attacker-controlled.example, and the Service Worker faithfully replays the user's Authorization Bearer token, Proxy-Authorization credentials, and session Cookie to the attacker's server, which logs and reuses them to impersonate the victim. No public exploit identified at time of analysis, but the patch's test case ( |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 22, 2026
Sensitive header leakage in @angular/service-worker allows remote attackers to capture Authorization tokens, Proxy-Authorization credentials, and session cookies when a credentialed asset fetch is redirected cross-origin, because the worker preserved request headers instead of stripping them per the Fetch redirect algorithm. Affected versions span Angular 20.x, 21.x, and 22.x prereleases (and all 19.x and earlier), and no public exploit identified at time of analysis. The flaw was discovered by Google DeepMind's CodeMender and patched in 22.0.1, 21.2.17, and 20.3.25.
Earlier versions of this analysis (2)
Sensitive header leakage in Angular's @angular/service-worker package allows remote attackers to harvest Authorization tokens, Proxy-Authorization credentials, and session cookies when asset fetches encounter a cross-origin redirect. The Service Worker violates the Fetch redirect algorithm by forwarding credentialed headers to the redirect target's origin, exposing them to attacker-controlled domains. No public exploit identified at time of analysis; fixes are available in 22.0.1, 21.2.17, and 20.3.25.
Sensitive header leakage in @angular/service-worker allows remote attackers to exfiltrate Authorization tokens, Proxy-Authorization credentials, and session cookies when an asset fetch is redirected cross-origin. The Service Worker violates the Fetch redirect algorithm by preserving the original request's headers across origin boundaries, forwarding credentials to attacker-controlled domains. No public exploit identified at time of analysis; the issue was discovered by Google DeepMind's CodeMender AI agent and patched in versions 22.0.1, 21.2.17, and 20.3.25.
RemediationAI
Vendor-released patch: upgrade @angular/service-worker to 22.0.1, 21.2.17, or 20.3.25 depending on your major version (npm install @angular/service-worker@22.0.1 or the equivalent for 21.x/20.x), as published in PR https://github.com/angular/angular/pull/69029 and commit https://github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08. Users still on @angular/service-worker <=19.2.25 should migrate to a supported branch since no fix is published for 19.x. Until you can upgrade, the compensating controls are: stop attaching Authorization, Proxy-Authorization, or Cookie headers to requests whose URLs appear in any asset-group of ngsw-config.json (trade-off: any genuinely credentialed asset fetch must move outside the service worker's caching scope); ensure asset URLs resolve only to first-party origins you fully control and audit any server-side redirects on those endpoints to prevent cross-origin redirects (trade-off: blocks legitimate CDN failover redirects); and where feasible, restrict the Service Worker's scope so it does not intercept credentialed API or asset endpoints. Refer to the GHSA at https://github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p for the canonical advisory.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability lives in the asset-fetch path of Angular's Progressive Web App Service Worker (@angular/service-worker), specifically in AssetGroup.newRequestWithMetadata within packages/service-worker/worker/src/assets.ts. When constructing a follow-up Request after a redirect, the worker copied the original RequestInit.headers verbatim, including Authorization, Proxy-Authorization, and Cookie, without checking whether the redirect crossed origins. The WHATWG Fetch redirect algorithm explicitly mandates stripping Authorization (and treating Cookie/Proxy-Authorization as forbidden request headers) on cross-origin redirects, so the worker's behavior diverged from the browser's native fetch contract. This is a classic CWE-200 information exposure: the patch (PR #69029, commit 47d68dcb) parses the redirect target URL, compares its origin against the adapter origin, and explicitly deletes Authorization, Proxy-Authorization, and Cookie headers when they differ.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Network reach, no auth, but exploitation needs a cross-origin redirect on a credentialed asset URL (AC:H) and the victim loading the PWA (UI:R); scope changes to leak credentials to a third-party origin, confidentiality-only.
Primary rating from Vendor (https://github.com/angular/angular).
CVSS VectorVendor: https://github.com/angular/angular
Lifecycle Timeline
3DescriptionCVE.org
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:
- Vulnerable Configuration: The application must utilize the
@angular/service-workerpackage to fetch assets. - Credentialed Requests: The application must attach sensitive request headers (like
Authorization,Proxy-Authorization, or rely on cookies) to asset-group requests. - 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.
Executive ViewAI
@angular/service-worker in versions 20, 21, 22, and earlier leaks authentication credentials and session cookies when cross-origin redirects occur, enabling account takeover of application users. This vulnerability affects organizations running Angular web applications, particularly those processing authenticated transactions or sensitive user data. Vendor patches are available for all affected versions.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-38274
GHSA-qxh6-94w6-9r5p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB