CVE-2026-54264
Received Received - Intake
Information Disclosure in Angular Service Worker

Publication date: 2026-06-22

Last updated on: 2026-06-22

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-22
Last Modified
2026-06-22
Generated
2026-06-22
AI Q&A
2026-06-22
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 7 associated CPEs
Vendor Product Version / Range
angular service-worker to 22.0.1 (exc)
angular service-worker to 21.2.17 (exc)
angular service-worker to 20.3.25 (exc)
angular service-worker to 19.2.25 (inc)
angular service-worker 22.0.1
angular service-worker 21.2.17
angular service-worker 20.3.25
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
CWE-359 The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-54264 is an information disclosure vulnerability in the Angular framework's @angular/service-worker package. The issue arises because the Service Worker preserves sensitive metadata, such as Authorization tokens, Proxy-Authorization credentials, or session cookies, when fetching assets. However, during cross-origin redirects, it fails to remove these sensitive headers, which violates the Fetch redirect algorithm.

This flaw allows a remote attacker to trigger a cross-origin redirect to an untrusted external origin and thereby obtain sensitive credentials that should have been protected.

Impact Analysis

This vulnerability can lead to the exposure of sensitive authentication and session information such as Authorization tokens, Proxy-Authorization credentials, and session cookies to untrusted third-party domains.

An attacker can exploit this by causing a cross-origin redirect in the Service Worker fetch process, thereby intercepting these credentials and potentially gaining unauthorized access to user accounts or services.

Such credential leakage can compromise user privacy, lead to account takeover, and undermine the security of applications relying on Angular's service worker.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade the @angular/service-worker package to one of the fixed versions: 22.0.1, 21.2.17, or 20.3.25.

These versions include a fix that strips sensitive headers such as Authorization, Cookie, and Proxy-Authorization during cross-origin redirects, preventing sensitive credential leakage.

Ensuring your application uses these patched versions will align the service worker's behavior with the Fetch API redirect algorithm and protect against this information disclosure vulnerability.

Compliance Impact

The vulnerability allows sensitive credentials such as Authorization tokens, Proxy-Authorization credentials, or session cookies to be exposed to untrusted external origins during cross-origin redirects. This exposure of sensitive information can lead to violations of security best practices and potentially compromise confidentiality requirements mandated by common standards and regulations like GDPR and HIPAA.

The fix implemented in Angular's service worker strips sensitive headers during cross-origin redirects, aligning with the Fetch API's redirect algorithm and web security standards. This change helps prevent unauthorized disclosure of sensitive data, thereby supporting compliance with regulations that require protection of personal and sensitive information.

Detection Guidance

This vulnerability involves the Angular Service Worker preserving sensitive headers such as Authorization, Cookie, and Proxy-Authorization during cross-origin redirects, which should be stripped according to the Fetch redirect algorithm.

To detect this vulnerability on your system or network, you can monitor network traffic for cross-origin redirects initiated by the Angular Service Worker and check if sensitive headers are being sent to untrusted external origins.

Suggested commands include using network traffic analysis tools like curl or browser developer tools to simulate or observe requests with credential headers that trigger cross-origin redirects.

  • Use curl with verbose output to follow redirects and observe headers: curl -v -L -H "Authorization: Bearer <token>" <URL>
  • Use browser developer tools (Network tab) to inspect requests made by the Angular Service Worker and verify if Authorization, Cookie, or Proxy-Authorization headers are sent during cross-origin redirects.
  • Capture network traffic with tools like Wireshark or tcpdump to analyze HTTP headers during redirects for presence of sensitive headers sent to different origins.

If sensitive headers are observed being sent to a different origin during redirects, the system is vulnerable and should be updated to the patched versions (22.0.1, 21.2.17, or 20.3.25).

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54264. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart