# CVE-2026-50169: Angular Service Worker Policy-Bypass & Credential-Stripping Vulnerabilities

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-200, CWE-441, CWE-524
- **Aliases:** GHSA-gv2q-mqqv-365m
- **Published:** 2026-06-15T16:44:21.000Z
- **Modified:** 2026-07-15T22:30:44.481Z

## 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

## 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

- npm `@angular/service-worker`: affected \>= 22.0.0-next.0, \< 22.0.0-rc.2; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/angular/angular/security/advisories/GHSA-gv2q-mqqv-365m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-50169>
- patch: <https://github.com/angular/angular/pull/67494>
- other: <https://github.com/angular/angular>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-50169>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gv2q-mqqv-365m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-50169> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-50169>
