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

- Severity: Medium 5.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-06-15T17:13:05.000Z
- Modified: 2026-07-15T22:30:43.996Z
- Also known as: GHSA-95qp-cmmw-mgqv
- Weaknesses: CWE-200, CWE-524
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 5.7 Medium `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`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv> (third-party-advisory, web)
- <https://github.com/angular/angular/pull/68904> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50184> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-50184](https://www.cve.org/CVERecord?id=CVE-2026-50184), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-95qp-cmmw-mgqv](https://github.com/advisories/GHSA-95qp-cmmw-mgqv), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2026-50184](https://nvd.nist.gov/vuln/detail/CVE-2026-50184), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-50184 · Whole record: https://cve.day/CVE-2026-50184.json · Rebuilt by cve.day 2026-11-25T22:59:25.386Z
