# CVE-2026-50184: Angular: Request Credential & Cache Policy Stripping in Angular Service Worker

> 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.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-200, CWE-524
- **Aliases:** GHSA-95qp-cmmw-mgqv
- **Published:** 2026-06-15T17:13:05.000Z
- **Modified:** 2026-07-15T22:30:43.996Z

## 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 explicit client-defined safety parameters: the credentials configuration (such as credentials: 'omit') and the HTTP cache mode configuration (such as cache: 'no-store'). These are reverted back to standard browser-default parameters (credentials: 'same-origin' and default HTTP cache properties). This causes the browser to include active credentials (such as cookies or Authorization headers) on outbound requests where the client-side developer explicitly instructed they should be omitted, leading to potential session leaks. Additionally, it causes private or non-cacheable resources to be cached by the service worker's engine, making private page states accessible or persistent inside the client's local cache post-logout. 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, 21.2.15, 20.3.22, 19.2.23 (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, 21.2.15, 20.3.22, 19.2.23 (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-50184. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50184.md
Affected: @angular/service-worker >= 22.0.0-next.0, < 22.0.0-rc.2
Fixed in: 22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23

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-50184 being exploited?

There is no confirmed exploitation: CVE-2026-50184 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-50184?

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-50184?

@angular/service-worker \>= 22.0.0-next.0, \< 22.0.0-rc.2.

### Is there a fix for CVE-2026-50184?

Yes. Fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23. Upgrade @angular/service-worker to one of 22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-50184?

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-95qp-cmmw-mgqv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-50184>
- patch: <https://github.com/angular/angular/pull/68904>
- 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-50184>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-95qp-cmmw-mgqv> (license: <https://creativecommons.org/licenses/by/4.0/>)

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