CVE-2026-54264: @angular/service-worker Sensitive Header Leakage On Cross-Origin Vulnerability
HIGHCVE-2026-54264 is a HIGH (CVSS 6.1) sensitive header leakage on cross-origin vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @angular/service-worker libraries in the npm ecosystem. The issue involves sensitive header leakage on cross-origin redirects in angular service worker. Remediation is available by upgrading affected packages to version 22.0.1, 21.2.17, 20.3.25.
CVE-2026-54264 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-54264
To remediate this vulnerability, upgrade all affected @angular/service-worker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @angular/service-worker@22.0.1
npm install @angular/service-worker@21.2.17
npm install @angular/service-worker@20.3.25
npm install @angular/service-worker@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @angular/service-worker
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-54264, inspect your project dependencies using npm:
npm ls @angular/service-worker
Analyze the terminal output to locate any version of @angular/service-worker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 22.0.1), your application is affected.
Note: The npm ls @angular/service-worker command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @angular/service-worker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54264 Affected @angular/service-worker Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@angular/service-worker
|
npm |
≥ 22.0.0-next.0
< 22.0.1
|
22.0.1
|
|
@angular/service-worker
|
npm |
≥ 21.0.0-next.0
< 21.2.17
|
21.2.17
|
|
@angular/service-worker
|
npm |
≥ 20.0.0-next.0
< 20.3.25
|
20.3.25
|
|
@angular/service-worker
|
npm |
≤ 19.2.25
|
|
References
Frequently Asked Questions
What is CVE-2026-54264?
Which @angular/service-worker versions are affected?
What version fixes CVE-2026-54264?
Is @angular/service-worker affected?
What is the CVSS score of CVE-2026-54264?
What CWE is associated with CVE-2026-54264?
How can I check npm dependencies for CVE-2026-54264?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qxh6-94w6-9r5p",
"modified" : "2026-07-15T22:04:31Z",
"published" : "2026-06-15T17:25:55Z",
"aliases" : [ "CVE-2026-54264" ],
"summary" : "@angular/service-worker: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker",
"details" : "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/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@angular/service-worker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "22.0.0-next.0"
}, {
"fixed" : "22.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@angular/service-worker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "21.0.0-next.0"
}, {
"fixed" : "21.2.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@angular/service-worker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "20.0.0-next.0"
}, {
"fixed" : "20.3.25"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@angular/service-worker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "19.2.25"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54264"
}, {
"type" : "WEB",
"url" : "https://github.com/angular/angular/pull/69029"
}, {
"type" : "WEB",
"url" : "https://github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/angular/angular"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-359" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-15T17:25:55Z",
"nvd_published_at" : "2026-06-22T16:16:39Z"
}
}