{"id":"GHSA-qxh6-94w6-9r5p","revision":"12687c099be3498783bb03e6b49830cf","records":[{"revision":"12687c099be3498783bb03e6b49830cf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qxh6-94w6-9r5p","aliases":["CVE-2026-54264"],"title":"@angular/service-worker: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker","description":"An information disclosure vulnerability exists in the `@angular/service-worker` package of the Angular framework. When the Service Worker fetches assets, it preserves metadata (such as headers) from the original request. However, on cross-origin redirects, the Service Worker fails to strip sensitive headers, violating the Fetch redirect algorithm. \n\nThis allows a remote attacker to obtain sensitive credentials (e.g., `Authorization` tokens, `Proxy-Authorization` credentials, or session cookies) by triggering a cross-origin redirect to an untrusted external origin.\n\n### Impact\nIf an application configured with the Angular Service Worker fetches assets with credential headers (such as `Authorization` header), and one of those requests is redirected to a different origin, the Service Worker will forward those headers to the new origin. This exposes critical credentials and session identifiers to unauthorized third-party servers.\n\n### Attack Preconditions\nFor this vulnerability to be exploitable:\n1. **Vulnerable Configuration:** The application must utilize the `@angular/service-worker` package to fetch assets.\n2. **Credentialed Requests:** The application must attach sensitive request headers (like `Authorization`, `Proxy-Authorization`, or rely on cookies) to asset-group requests.\n3. **Redirect Flow:** These requests must encounter a cross-origin redirect to an attacker-controlled or untrusted domain.\n\n### Patched Versions\n* 22.0.1  \n* 21.2.17  \n* 20.3.25\n\n### Credits\nThis vulnerability was discovered and reported by [CodeMender from Google DeepMind](https://deepmind.google/blog/introducing-codemender-an-ai-agent-for-code-security/).","state":0,"publishedAt":"2026-06-15T17:25:55+00:00","modifiedAt":"2026-07-15T22:30:45.632423+00:00","affected":[{"ecosystem":"npm","name":"@angular/service-worker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"22.0.0-next.0"},{"kind":"fixed","version":"22.0.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/service-worker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"21.0.0-next.0"},{"kind":"fixed","version":"21.2.17"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/service-worker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"20.0.0-next.0"},{"kind":"fixed","version":"20.3.25"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@angular/service-worker","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"19.2.25"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p","https://nvd.nist.gov/vuln/detail/CVE-2026-54264","https://github.com/angular/angular/pull/69029","https://github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08","https://github.com/angular/angular"],"sourceUrl":"https://github.com/advisories/GHSA-qxh6-94w6-9r5p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qxh6-94w6-9r5p","identifiers":["GHSA-qxh6-94w6-9r5p","CVE-2026-54264"]},"retained":false,"historicalAffected":[]}],"coverage":[]}