Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @angular/common
  4. ›
  5. CVE-2026-50170

CVE-2026-50170: @angular/common: Information Leak via Default Caching of Credentialed Requests in HttpTransferCache

June 15, 2026

A vulnerability was discovered in @angular/common when Server-Side Rendering (SSR) and hydration are enabled. The HttpTransferCache utility optimizes hydration by caching outgoing HTTP requests performed during SSR and transferring the cached state to the client-side application via TransferState.

However, the caching mechanism fails to inspect the withCredentials flag or the Cookie header of outgoing requests. As a result, credentialed, user-specific responses may be cached by default in the shared TransferState payload. When these responses are serialized into the HTML, any caching layer (such as a CDN, reverse proxy, or shared server cache) that caches the SSR-rendered HTML page could inadvertently cache and leak one user’s private data to other users, leading to a high-severity information disclosure vulnerability.

References

  • github.com/advisories/GHSA-q6f4-qqrg-jv6x
  • github.com/angular/angular/pull/67964
  • github.com/angular/angular/security/advisories/GHSA-q6f4-qqrg-jv6x
  • nvd.nist.gov/vuln/detail/CVE-2026-50170

Code Behaviors & Features

Detect and mitigate CVE-2026-50170 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 18.2.14, all versions starting from 19.0.0-next.0 before 19.2.23, all versions starting from 20.0.0-next.0 before 20.3.22, all versions starting from 21.0.0-next.0 before 21.2.15, all versions starting from 22.0.0-next.0 before 22.0.0-rc.2

Fixed versions

  • 19.2.23
  • 20.3.22
  • 21.2.15
  • 22.0.0-rc.2

Solution

Upgrade to versions 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-524: Use of Cache Containing Sensitive Information

Source file

npm/@angular/common/CVE-2026-50170.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 16 Jun 2026 12:18:06 +0000.