Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-50184

MEDIUM 5.7EPSS 6%

Angular: Request Credential & Cache Policy Stripping in Angular Service Worker

Also known as GHSA-95qp-cmmw-mgqv

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

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, 21.2.15, 20.3.22, 19.2.23
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.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-200, CWE-524
Published
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 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

Package / productAffectedFixedSource
npm @angular/service-worker>= 22.0.0-next.0, < 22.0.0-rc.222.0.0-rc.2, 21.2.15, 20.3.22, 19.2.23osv
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-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.

References

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.

Sponsors