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

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-06-15T17:24:02.000Z
- Modified: 2026-09-10T03:50:55.363Z
- Also known as: GHSA-39pv-4j6c-2g6v
- Weaknesses: CWE-328, CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- angular angular: >= 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; up to 19.2.25; from 20.0.0 before 20.3.25; from 21.0.0 before 21.2.17; from 22.0.0 before 22.0.1
- @angular/common (npm): from 22.0.0-next.0 before 22.0.1; from 21.0.0-next.0 before 21.2.17; from 20.0.0-next.0 before 20.3.25; up to 19.2.25

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- GitHub: CVSS:3.1 6.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-39pv-4j6c-2g6v> (third-party-advisory, web)
- <https://github.com/angular/angular/pull/69153> (issue-tracking, patch, web)
- <https://github.com/angular/angular/commit/5f36274da3f961430ae72865159afa02a1dd9133> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54266> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-54266](https://www.cve.org/CVERecord?id=CVE-2026-54266), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-39pv-4j6c-2g6v](https://github.com/advisories/GHSA-39pv-4j6c-2g6v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54266](https://nvd.nist.gov/vuln/detail/CVE-2026-54266), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-54266 · Whole record: https://cve.day/CVE-2026-54266.json · Rebuilt by cve.day 2026-11-25T22:59:25.374Z
