{"id":"CVE-2026-54266","published":"2026-06-22T15:28:42Z","modified":"2026-06-22T17:56:12Z","title":"Angular: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoning","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00127,"percentile":0.01126,"provenance":"source"},"cwes":[{"id":"CWE-328","name":"Use of Weak Hash"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-39pv-4j6c-2g6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/69153","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/5f36274da3f961430ae72865159afa02a1dd9133","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.23},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 22.0.0-next.0 < 22.0.1",">= 21.0.0-next.0 < 21.2.17",">= 20.0.0-next.0 < 20.3.25","<= 19.2.25"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-22T17:55:58.476641Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/common","vulnerableRanges":[">=22.0.0-next.0, <22.0.1",">=21.0.0-next.0, <21.2.17",">=20.0.0-next.0, <20.3.25","<=19.2.25"],"patched":["22.0.1","21.2.17","20.3.25"],"from":["GHSA-39pv-4j6c-2g6v"],"provenance":"source"}],"summary":{"text":"Angular's HttpTransferCache, which reuses HTTP responses cached during server-side rendering for client-side hydration, builds its cache keys from a weak 32-bit DJB2-style rolling hash. An attacker who can get a victim to open a crafted link, with no authentication required, can supply a query parameter that collides with a sensitive request's cache key, so the victim's cached profile response is overwritten and the victim's data can be leaked or the application state poisoned.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:52Z"},"euvd":{"id":"EUVD-2026-38269","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-angular-cve-2026-54266","children":[{"from":"CVE-2026-54266","to":"CVE-2026-68945","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/common/http/src/transfer_cache.ts"],"commits":["https://github.com/angular/angular/commit/5f36274da3f961430ae72865159afa02a1dd9133","https://github.com/angular/angular/commit/6867f77ec779a0a24f6339ad6c775f444202103c","https://github.com/angular/angular/commit/948a8d6831e8920b54663ec79421da95210e0e35"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-111753","published":"2026-11-05","fixed":"21.0.3","kev":false},{"cve":"CVE-2026-50170","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-50171","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false,"link":{"from":"CVE-2026-50171","to":"CVE-2026-54266","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"21.2.15","toFixed":"21.2.17","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"20.3.22","toFixed":"20.3.25","daysApart":0}]}},{"cve":"CVE-2026-54266","published":"2026-06-22","fixed":"22.0.1","kev":false},{"cve":"CVE-2026-54268","published":"2026-06-22","fixed":"22.0.1","kev":false},{"cve":"CVE-2026-68945","published":"2026-08-03","fixed":"22.0.2","kev":false},{"cve":"CVE-2026-88059","published":"2026-09-10","fixed":"22.1.1","kev":false}],"package":"npm:@angular/common"}}