Skip to main content

Angular Service Worker EUVDEUVD-2026-38274

| CVE-2026-54264 HIGH
Information Exposure (CWE-200)
2026-06-15 https://github.com/angular/angular GHSA-qxh6-94w6-9r5p
8.3
CVSS 4.0 · Vendor: https://github.com/angular/angular
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Angular PWA using vulnerable service worker
  2. Delivery
    Lure authenticated victim to load app
  3. Exploit
    Service Worker fetches credentialed asset URL
  4. Execution
    Asset endpoint returns cross-origin 30x redirect
  5. Persist
    Worker replays Authorization/Cookie to attacker origin
  6. Impact
    Attacker captures and reuses stolen credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires all three: (1) the target application bundles and registers @angular/service-worker (Angular PWA mode with ngsw-config.json enabling asset groups); (2) the application attaches credential headers - Authorization, Proxy-Authorization, or Cookie - to one or more asset-group requests that the Service Worker fetches; and (3) at least one such asset URL must respond with a cross-origin HTTP redirect to a domain the attacker controls or can influence (e.g., via a misconfigured CDN, an open redirect on a trusted host, or an attacker-owned origin reachable from the asset list). Exploitation also requires passive user interaction (UI:P) - the victim must visit/load the Angular application in their browser - and is limited to applications that actually send credentials with asset fetches, which is non-default behavior for typical static-asset PWAs.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N, base 8.3 High) correctly captures network reach, no authentication, and high confidentiality impact on both the vulnerable system and a subsequent system (the third-party origin receiving the leaked credentials), with passive user interaction (visiting the Angular PWA) required. No EPSS, KEV, or SSVC data is provided; this is not on CISA KEV and no public exploit identified at time of analysis, so it is not in active mass exploitation. Real-world risk is bounded by the preconditions: the application must (a) ship the Angular Service Worker, (b) attach credential headers to asset-group requests, and (c) follow a cross-origin redirect - a non-default but plausible chain, particularly for apps using CDNs, auth proxies, or open-redirect-prone endpoints in their asset URLs. Treat as a high-priority dependency bump for any Angular PWA that authenticates asset fetches; lower urgency for SPAs that fetch only same-origin static assets without Authorization headers.

Exploit ScenarioDerived

An attacker who controls a domain (or finds an open redirect on a trusted origin) lures a logged-in user of a vulnerable Angular PWA to a page that triggers the Service Worker to fetch a configured asset URL; that asset endpoint responds with a 30x redirect to attacker-controlled.example, and the Service Worker faithfully replays the user's Authorization Bearer token, Proxy-Authorization credentials, and session Cookie to the attacker's server, which logs and reuses them to impersonate the victim. No public exploit identified at time of analysis, but the patch's test case (it('does not pass sensitive headers through to a different origin')) demonstrates the exact attack primitive.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

Sensitive header leakage in @angular/service-worker allows remote attackers to capture Authorization tokens, Proxy-Authorization credentials, and session cookies when a credentialed asset fetch is redirected cross-origin, because the worker preserved request headers instead of stripping them per the Fetch redirect algorithm. Affected versions span Angular 20.x, 21.x, and 22.x prereleases (and all 19.x and earlier), and no public exploit identified at time of analysis. The flaw was discovered by Google DeepMind's CodeMender and patched in 22.0.1, 21.2.17, and 20.3.25.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 16:58 cvss changed CVSS 8.3

Sensitive header leakage in Angular's @angular/service-worker package allows remote attackers to harvest Authorization tokens, Proxy-Authorization credentials, and session cookies when asset fetches encounter a cross-origin redirect. The Service Worker violates the Fetch redirect algorithm by forwarding credentialed headers to the redirect target's origin, exposing them to attacker-controlled domains. No public exploit identified at time of analysis; fixes are available in 22.0.1, 21.2.17, and 20.3.25.

v1 Jun 15, 2026 - 17:54

Sensitive header leakage in @angular/service-worker allows remote attackers to exfiltrate Authorization tokens, Proxy-Authorization credentials, and session cookies when an asset fetch is redirected cross-origin. The Service Worker violates the Fetch redirect algorithm by preserving the original request's headers across origin boundaries, forwarding credentials to attacker-controlled domains. No public exploit identified at time of analysis; the issue was discovered by Google DeepMind's CodeMender AI agent and patched in versions 22.0.1, 21.2.17, and 20.3.25.

RemediationAI

Vendor-released patch: upgrade @angular/service-worker to 22.0.1, 21.2.17, or 20.3.25 depending on your major version (npm install @angular/service-worker@22.0.1 or the equivalent for 21.x/20.x), as published in PR https://github.com/angular/angular/pull/69029 and commit https://github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08. Users still on @angular/service-worker <=19.2.25 should migrate to a supported branch since no fix is published for 19.x. Until you can upgrade, the compensating controls are: stop attaching Authorization, Proxy-Authorization, or Cookie headers to requests whose URLs appear in any asset-group of ngsw-config.json (trade-off: any genuinely credentialed asset fetch must move outside the service worker's caching scope); ensure asset URLs resolve only to first-party origins you fully control and audit any server-side redirects on those endpoints to prevent cross-origin redirects (trade-off: blocks legitimate CDN failover redirects); and where feasible, restrict the Service Worker's scope so it does not intercept credentialed API or asset endpoints. Refer to the GHSA at https://github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p for the canonical advisory.

Affected VersionsENISA

angular 22.0.0-next.0 < 22.0.1
angular ≤ 19.2.25
angular 20.0.0-next.0 < 20.3.25
angular 21.0.0-next.0 < 21.2.17

Affected Packages

npm @angular/service-worker fix: 20.3.25, 21.2.17, 22.0.1
euvd angular fix: 20.3.25, 21.2.17, 22.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the asset-fetch path of Angular's Progressive Web App Service Worker (@angular/service-worker), specifically in AssetGroup.newRequestWithMetadata within packages/service-worker/worker/src/assets.ts. When constructing a follow-up Request after a redirect, the worker copied the original RequestInit.headers verbatim, including Authorization, Proxy-Authorization, and Cookie, without checking whether the redirect crossed origins. The WHATWG Fetch redirect algorithm explicitly mandates stripping Authorization (and treating Cookie/Proxy-Authorization as forbidden request headers) on cross-origin redirects, so the worker's behavior diverged from the browser's native fetch contract. This is a classic CWE-200 information exposure: the patch (PR #69029, commit 47d68dcb) parses the redirect target URL, compares its origin against the adapter origin, and explicitly deletes Authorization, Proxy-Authorization, and Cookie headers when they differ.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/angular/angular) PRIMARY 8.3 HIGH
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
vuln.today AI 6.1 MEDIUM

Network reach, no auth, but exploitation needs a cross-origin redirect on a credentialed asset URL (AC:H) and the victim loading the PWA (UI:R); scope changes to leak credentials to a third-party origin, confidentiality-only.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Red Hat 6.1 MEDIUM

Primary rating from Vendor (https://github.com/angular/angular).

CVSS VectorVendor: https://github.com/angular/angular

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 16:58 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 16:58 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 16:52 NVD
8.3 (HIGH)

DescriptionCVE.org

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.

Impact

If 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.

Attack Preconditions

For this vulnerability to be exploitable:

  1. Vulnerable Configuration: The application must utilize the @angular/service-worker package to fetch assets.
  2. Credentialed Requests: The application must attach sensitive request headers (like Authorization, Proxy-Authorization, or rely on cookies) to asset-group requests.
  3. Redirect Flow: These requests must encounter a cross-origin redirect to an attacker-controlled or untrusted domain.

Patched Versions

  • 22.0.1
  • 21.2.17
  • 20.3.25

Credits

This vulnerability was discovered and reported by CodeMender from Google DeepMind.

Executive ViewAI

Why It Matters

@angular/service-worker in versions 20, 21, 22, and earlier leaks authentication credentials and session cookies when cross-origin redirects occur, enabling account takeover of application users. This vulnerability affects organizations running Angular web applications, particularly those processing authenticated transactions or sensitive user data. Vendor patches are available for all affected versions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy