{"cve":"CVE-2026-50169","nvd":{"published":"2026-06-22T18:16:42.253","modified":"2026-07-09T15:31:31.800","status":"Analyzed","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 the strict, client-defined request redirect policy configuration (such as redirect: 'error'), falling back to the browser's default 'follow' strategy. If the target web application makes client-side requests with a strict policy (e.g., expecting a network error instead of automatically following redirects), the service worker will bypass this instruction and automatically follow HTTP 3xx redirects to other destinations. This acts as an unintended proxy/intermediary (\"Confused Deputy\") and can result in cookie/credential exposure or same-origin session-restricted data leakage if public dynamic routes redirect to sensitive routes. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.","cvss_v4":{"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","score":5.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-200","CWE-441","CWE-524"],"references":["https://github.com/angular/angular/pull/67494","https://github.com/angular/angular/security/advisories/GHSA-gv2q-mqqv-365m"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-50169","score":0.00228,"percentile":0.13572,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gv2q-mqqv-365m","url":"https://osv.dev/vulnerability/GHSA-gv2q-mqqv-365m","summary":"Angular Service Worker Policy-Bypass & Credential-Stripping Vulnerabilities","modified":"2026-07-15T22:30:44.481937980Z","packages":[{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=22.0.0-next.0 <22.0.0-rc.2"],"fixed":["22.0.0-rc.2"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=20.0.0-next.0 <20.3.22"],"fixed":["20.3.22"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=19.0.0-next.0 <19.2.23"],"fixed":["19.2.23"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":["<=18.2.14"],"fixed":[]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=21.0.0-next.0 <21.2.15"],"fixed":["21.2.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}