CVE-2026-50184
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-22
- Last modified
- 2026-07-09
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.2 %
higher than 5 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Angular | Angular | ≤ 18.2.14 | Affected |
| Angular | Angular | 22.0.0 | Affected |
| Angular | Angular | ≥ 19.0.0, < 19.2.23 | Affected |
| Angular | Angular | ≥ 20.0.0, < 20.3.22 | Affected |
| Angular | Angular | ≥ 21.0.0, < 21.2.15 | Affected |
| angular | service-worker (npm) | ≤ 18.2.14 | Affected |
| angular | service-worker (npm) | ≥ 19.0.0-next.0, < 19.2.23 | Affected |
| angular | service-worker (npm) | ≥ 20.0.0-next.0, < 20.3.22 | Affected |
| angular | service-worker (npm) | ≥ 21.0.0-next.0, < 21.2.15 | Affected |
| angular | service-worker (npm) | ≥ 22.0.0-next.0, < 22.0.0-rc.2 | Affected |
Weakness type
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
-
CWE-524: Use of Cache Containing Sensitive Information
The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1005: Data from Local System
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1550.004: Web Session Cookie
References
- https://github.com/angular/angular/pull/68904
- https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.