{"id":"CVE-2026-50169","published":"2026-06-22T15:41:17Z","modified":"2026-06-22T17:32:36Z","title":"Angular Service Worker Policy-Bypass & Credential-Stripping Vulnerabilities","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00228,"percentile":0.13796,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"},{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-gv2q-mqqv-365m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/67494","tags":["x_refsource_MISC"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:32:21.478134Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/service-worker","vulnerableRanges":[">=22.0.0-next.0, <22.0.0-rc.2",">=20.0.0-next.0, <20.3.22",">=19.0.0-next.0, <19.2.23","<=18.2.14",">=21.0.0-next.0, <21.2.15"],"patched":["22.0.0-rc.2","20.3.22","19.2.23","21.2.15"],"from":["GHSA-gv2q-mqqv-365m"],"provenance":"source"}],"summary":{"text":"The Angular service worker in the @angular/service-worker package strips strict client-defined redirect policies (such as redirect: 'error') when it reconstructs intercepted requests for matched assets, so requests fall back to the browser's default 'follow' behaviour. An attacker who can get a user to interact with the affected application, with the attack otherwise requiring local access and high attack complexity, could exploit this when public dynamic routes redirect to sensitive routes, potentially exposing cookies, credentials, or same-origin session-restricted data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:25Z"},"euvd":{"id":"EUVD-2026-38295","exploited":false,"provenance":"source"}}