Skip to content

CVE-2026-54266 Angular: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoning

HighCVSS 8.8 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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, Angular's HttpTransferCache caches HTTP requests made during Server-Side Rendering (SSR) so that they can be reused during client-side hydration. This avoids repeating the same HTTP requests on the client. The cached responses are stored in TransferState using a cache key generated by hashing request properties (method, response type, mapped URL, serialized body, and sorted query parameters). The cache keys are generated using a weak 32-bit DJB2-like polynomial rolling hash. The 32-bit hash space is extremely small, allowing attackers to find hash collisions. An attacker can easily find a query parameter string (e.g., q=aaCAZMMM for a search request) that produces the exact same 32-bit hash as a sensitive endpoint (e.g., /api/user/profile). When a victim visits a crafted link containing the colliding parameter, the SSR process executes both the search request and the profile request. Due to the hash collision, the search response overwrites the profile response in the TransferState cache. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

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 <= 19.2.25; = <= 19.2.25; = >= 20.0.0-next.0 < 20.3.25; = >= 21.0.0-next.0 < 21.2.17 +4 more 20.3.25, 21.2.17, 22.0.1 Fixed
angular common(npm) <= 19.2.25; >= 20.0.0-next.0, < 20.3.25; >= 21.0.0-next.0, < 21.2.17; >= 22.0.0-next.0, < 22.0.1 20.3.25, 21.2.17, 22.0.1 Fixed

Affected products

ProductAffected versionsFixed in
angular = >= 22.0.0-next.0 < 22.0.1 No fix listed
angular = >= 21.0.0-next.0 < 21.2.17 No fix listed
angular = >= 20.0.0-next.0 < 20.3.25 No fix listed
angular = <= 19.2.25 No fix listed
angular common(npm) >= 22.0.0-next.0, < 22.0.1 22.0.1
angular common(npm) >= 21.0.0-next.0, < 21.2.17 21.2.17
angular common(npm) >= 20.0.0-next.0, < 20.3.25 20.3.25
angular common(npm) <= 19.2.25 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 <= 19.2.25 No fix listed
angular >= 20.0.0, < 20.3.25 20.3.25
angular >= 21.0.0, < 21.2.17 21.2.17
angular >= 22.0.0, < 22.0.1 22.0.1

References