CVE-2026-50169
Angular Service Worker Policy-Bypass & Credential-Stripping Vulnerabilities
Also known as GHSA-gv2q-mqqv-365m
Mitigation
- Upgrade @angular/service-worker to one of 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15 (or later in the same release line).
Who should check
- Projects that depend on npm package @angular/service-worker (>= 22.0.0-next.0, < 22.0.0-rc.2)
- Anyone running angular >= 22.0.0-next.0, < 22.0.0-rc.2; >= 21.0.0-next.0, < 21.2.15; >= 20.0.0-next.0, < 20.3.22; >= 19.0.0-next.0, < 19.2.23; <= 18.2.14
Vulnerability facts
- Affected
- @angular/service-worker >= 22.0.0-next.0, < 22.0.0-rc.2
- Fixed in
- 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.7 (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Attack requirements: Present
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-200, CWE-441, CWE-524
- Modified
Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15 20.3.22, and 19.2.23, an issue in the @angular/service-worker package compromises the integrity of request-policy enforcement during request reconstruction. When the Angular Service Worker intercepts network requests for matched assets, it reconstructs a new Request object using an internal helper function. During this reconstruction process, the helper function strips the strict, client-defined request redirect policy configuration (such as redirect: 'error'), falling back to the browser's default 'follow' strategy. If the target web application makes client-side requests with a strict policy (e.g., expecting a network error instead of automatically following redirects), the service worker will bypass this instruction and automatically follow HTTP 3xx redirects to other destinations. This acts as an unintended proxy/intermediary ("Confused Deputy") and can result in cookie/credential exposure or same-origin session-restricted data leakage if public dynamic routes redirect to sensitive routes. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @angular/service-worker | >= 22.0.0-next.0, < 22.0.0-rc.2 | 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15 | osv |
| angular | >= 22.0.0-next.0, < 22.0.0-rc.2; >= 21.0.0-next.0, < 21.2.15; >= 20.0.0-next.0, < 20.3.22; >= 19.0.0-next.0, < 19.2.23; <= 18.2.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-50169. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-50169.md Affected: @angular/service-worker >= 22.0.0-next.0, < 22.0.0-rc.2 Fixed in: 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15 Steps: 1. Search this machine and project for @angular/service-worker (npm), angular: 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.
References
Vendor advisories
FAQ
Is CVE-2026-50169 being exploited?
There is no confirmed exploitation: CVE-2026-50169 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-50169?
Medium: CVSS 5.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-50169?
@angular/service-worker >= 22.0.0-next.0, < 22.0.0-rc.2.
Is there a fix for CVE-2026-50169?
Yes. Fixed in 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15. Upgrade @angular/service-worker to one of 22.0.0-rc.2, 20.3.22, 19.2.23, 21.2.15 (or later in the same release line).
How do I check if I'm affected by CVE-2026-50169?
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.