Skip to content

CVE-2026-50184 Angular: Request Credential & Cache Policy Stripping in Angular Service Worker

MediumCVSS 5.7 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/service-worker package compromises the integrity of request-policy enforcement during request reconstruction. When the Angular Service Worker intercepts network requests for matched assets, it reconstructs a new Request object using an internal helper function. During this reconstruction process, the helper function strips explicit client-defined safety parameters: the credentials configuration (such as credentials: 'omit') and the HTTP cache mode configuration (such as cache: 'no-store'). These are reverted back to standard browser-default parameters (credentials: 'same-origin' and default HTTP cache properties). This causes the browser to include active credentials (such as cookies or Authorization headers) on outbound requests where the client-side developer explicitly instructed they should be omitted, leading to potential session leaks. Additionally, it causes private or non-cacheable resources to be cached by the service worker's engine, making private page states accessible or persistent inside the client's local cache post-logout. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/angular.js(Debian 12) = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more No fix listed No fix yet
debian/angular.js(Debian 13) = 1.8.3-3; All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.10) All versions No fix listed No fix yet
angular <= 18.2.14; = 22.0.0-next0; = 22.0.0-next1; = 22.0.0-next2 +20 more 19.2.23, 20.3.22, 21.2.15 Fixed
angular @angular/service-worker(npm) <= 18.2.14; >= 19.0.0-next.0, < 19.2.23; >= 20.0.0-next.0, < 20.3.22; >= 21.0.0-next.0, < 21.2.15 +1 more 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 Fixed

Affected products

ProductAffected versionsFixed in
angular = >= 22.0.0-next.0, < 22.0.0-rc.2 No fix listed
angular = >= 21.0.0-next.0, < 21.2.15 No fix listed
angular = >= 20.0.0-next.0, < 20.3.22 No fix listed
angular = >= 19.0.0-next.0, < 19.2.23 No fix listed
angular = <= 18.2.14 No fix listed
angular @angular/service-worker(npm) >= 22.0.0-next.0, < 22.0.0-rc.2 22.0.0-rc.2
angular @angular/service-worker(npm) >= 21.0.0-next.0, < 21.2.15 21.2.15
angular @angular/service-worker(npm) >= 20.0.0-next.0, < 20.3.22 20.3.22
angular @angular/service-worker(npm) >= 19.0.0-next.0, < 19.2.23 19.2.23
angular @angular/service-worker(npm) <= 18.2.14 No fix listed
debian/angular.js(Debian:12) All versions No fix listed
debian/angular.js(Debian:12) = 1.8.3-1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1~deb11u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-2 No fix listed
debian/angular.js(Debian:12) = 1.8.3-3 No fix listed
debian/angular.js(Debian:13) All versions No fix listed
debian/angular.js(Debian:13) = 1.8.3-3 No fix listed
ubuntu/angular.js(Ubuntu:22.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:24.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.10) All versions No fix listed
angular <= 18.2.14 No fix listed
angular >= 19.0.0, < 19.2.23 19.2.23
angular >= 20.0.0, < 20.3.22 20.3.22
Show 16 more
ProductAffected versionsFixed in
angular >= 21.0.0, < 21.2.15 21.2.15
angular = 22.0.0-next0 No fix listed
angular = 22.0.0-next1 No fix listed
angular = 22.0.0-next10 No fix listed
angular = 22.0.0-next11 No fix listed
angular = 22.0.0-next12 No fix listed
angular = 22.0.0-next2 No fix listed
angular = 22.0.0-next3 No fix listed
angular = 22.0.0-next4 No fix listed
angular = 22.0.0-next5 No fix listed
angular = 22.0.0-next6 No fix listed
angular = 22.0.0-next7 No fix listed
angular = 22.0.0-next8 No fix listed
angular = 22.0.0-next9 No fix listed
angular = 22.0.0-rc0 No fix listed
angular = 22.0.0-rc1 No fix listed

References