Angular.js: 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… (CVE-2026-54266)
Description
Angular's HttpTransferCache used during Server-Side Rendering (SSR) prior to versions 20.3.25, 21.2.17, and 22.0.1 uses a weak 32-bit hash for caching HTTP responses. This weak hashing can lead to hash collisions, allowing attackers to overwrite cached responses with malicious data, resulting in state poisoning and potential information leakage. The vulnerability affects @angular/common versions up to 19.2.25. It has been fixed by switching to SHA-256 hashing in the specified fixed versions. Workarounds include disabling transfer caching for sensitive requests or globally.
CVSS v3.1
Score 6.1medium
Affected software
pkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/angular.js?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/angular.js?arch=source&distro=jammypkg:deb/ubuntu/angular.js?arch=source&distro=noblepkg:deb/ubuntu/angular.js?arch=source&distro=questingpkg:deb/ubuntu/angular.js?arch=source&distro=stonkingpkg:deb/ubuntu/angular.js?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Angular's HttpTransferCache during SSR arises from the use of a weak 32-bit hash to cache HTTP responses. This weak hash function can produce collisions, enabling attackers to craft requests that overwrite cached responses of sensitive endpoints with attacker-controlled data. This leads to state poisoning and potential leakage of sensitive information. The issue affects @angular/common versions up to 19.2.25 and was addressed by upgrading the hashing algorithm to SHA-256 in versions 20.3.25, 21.2.17, and 22.0.1. Mitigation options include disabling transfer caching for sensitive requests or entirely.
Potential Impact
An attacker can cause hash collisions in the HttpTransferCache, overwriting cached HTTP responses with malicious content. This can poison the application state and potentially leak sensitive information. The vulnerability does not allow denial of service but impacts confidentiality and integrity of cached data.
Mitigation Recommendations
A fix is available in Angular versions 20.3.25, 21.2.17, and 22.0.1, which replace the weak 32-bit hash with SHA-256. Users should upgrade to one of these versions to remediate the vulnerability. Alternatively, disabling HttpTransferCache for sensitive requests or globally can serve as a workaround until upgrading.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-39pv-4j6c-2g6v
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54266"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a58b41268715ace43d6826b
Added to database: 07/16/2026, 10:36:02 UTC
Last enriched: 10/18/2026, 04:58:11 UTC
Last updated: 10/21/2026, 13:20:22 UTC
Views: 156
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.