{"id":"CVE-2026-54264","aliases":["CVE-2026-54264","GHSA-qxh6-94w6-9r5p"],"related":[],"kind":"vulnerability","state":"published","title":"Angular: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker","summary":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, 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. This 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. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, 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. This 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. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.","source":"cvelist"},{"lang":"en","text":"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/).","format":"markdown","source":"ghsa"}],"published":"2026-06-15T17:25:55.000Z","modified":"2026-07-15T22:30:45.632Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-200","CWE-359"],"affected":[{"ranges":[{"version":">= 22.0.0-next.0 < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0 < 21.2.17","status":"affected"},{"version":">= 20.0.0-next.0 < 20.3.25","status":"affected"},{"version":"<= 19.2.25","status":"affected"}],"vendor":"angular","product":"angular","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"22.0.0-next.0","status":"affected","fixed":"22.0.1"}],"ecosystem":"npm","package":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"21.0.0-next.0","status":"affected","fixed":"21.2.17"}],"ecosystem":"npm","package":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"20.0.0-next.0","status":"affected","fixed":"20.3.25"}],"ecosystem":"npm","package":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"19.2.25"}],"ecosystem":"npm","package":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"19.2.25"},{"status":"affected","introduced":"20.0.0","fixed":"20.3.25"},{"status":"affected","introduced":"21.0.0","fixed":"21.2.17"},{"status":"affected","introduced":"22.0.0","fixed":"22.0.1"}],"vendor":"angular","product":"angular","cpe":"cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/angular/angular/pull/69029","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54264","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/angular/angular","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-23T13:46:15.588Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54264","url":"https://www.cve.org/CVERecord?id=CVE-2026-54264","licence":"CVE Terms of Use","modified":"2026-06-23T13:46:25.169Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qxh6-94w6-9r5p","url":"https://github.com/advisories/GHSA-qxh6-94w6-9r5p","licence":"CC-BY-4.0","modified":"2026-07-15T22:30:45.632Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54264","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54264","licence":"Public domain","modified":"2026-07-09T15:40:14.333Z"}],"updatedAt":"2026-11-25T22:59:25.371Z","epss":{"score":0.0039,"percentile":0.24784,"date":"2026-11-30T12:00:22.000Z"}}