{"id":"CVE-2026-50170","aliases":["CVE-2026-50170","GHSA-q6f4-qqrg-jv6x"],"related":[],"kind":"vulnerability","state":"published","title":"Angular: Information Leak via Default Caching of Credentialed Requests in HttpTransferCache","summary":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, 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. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, 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. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.","source":"cvelist"},{"lang":"en","text":"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`.\n\nHowever, 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.\n\n### Impact\n\nSuccessful exploitation allows an unauthenticated attacker to obtain sensitive, user-specific information of other authenticated users. This occurs when:\n\n* The SSR-rendered HTML containing the cached private data is stored in a shared cache (e.g., CDN, reverse proxy).  \n* Subsequent requests for the same page receive the cached HTML containing the first user's private data.\n\n### Attack Preconditions\n\n* **SSR and Hydration Enabled:** The Angular application must be configured to use Server-Side Rendering and hydration (e.g., using `provideClientHydration()`).  \n* **Credentialed Requests during SSR:** The application must perform HTTP requests that require user-specific authentication (using cookies or `withCredentials: true`) during the initial server-side render.  \n* **Shared Caching:** The application's HTML responses must be cached by a shared caching layer (CDN, reverse proxy, or server-side cache) without proper cache-control headers to distinguish authenticated users.\n\n### Patches\n- 22.0.0-rc.2\n- 21.2.15\n- 20.3.22\n- 19.2.23","format":"markdown","source":"ghsa"}],"published":"2026-06-15T16:51:53.000Z","modified":"2026-09-10T03:50:50.091Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-524"],"affected":[{"ranges":[{"version":">= 22.0.0-next.0, < 22.0.0-rc.2","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.15","status":"affected"},{"version":">= 20.0.0-next.0, < 20.3.22","status":"affected"},{"version":">= 19.0.0-next.0, < 19.2.23","status":"affected"},{"version":"<= 18.2.14","status":"affected"}],"vendor":"angular","product":"angular","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"22.0.0-next.0","status":"affected","fixed":"22.0.0-rc.2"}],"ecosystem":"npm","package":"@angular/common","purl":"pkg:npm/%40angular/common","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"20.0.0-next.0","status":"affected","fixed":"20.3.22"}],"ecosystem":"npm","package":"@angular/common","purl":"pkg:npm/%40angular/common","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"19.0.0-next.0","status":"affected","fixed":"19.2.23"}],"ecosystem":"npm","package":"@angular/common","purl":"pkg:npm/%40angular/common","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"18.2.14"}],"ecosystem":"npm","package":"@angular/common","purl":"pkg:npm/%40angular/common","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"21.0.0-next.0","status":"affected","fixed":"21.2.15"}],"ecosystem":"npm","package":"@angular/common","purl":"pkg:npm/%40angular/common","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"18.2.14"},{"status":"affected","introduced":"19.0.0","fixed":"19.2.23"},{"status":"affected","introduced":"20.0.0","fixed":"20.3.22"},{"status":"affected","introduced":"21.0.0","fixed":"21.2.15"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"},{"status":"affected","version":"22.0.0"}],"vendor":"angular","product":"angular","cpe":"cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-q6f4-qqrg-jv6x","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/angular/angular/pull/67964","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50170","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/angular/angular","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-23T16:00:13.983Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50170","url":"https://www.cve.org/CVERecord?id=CVE-2026-50170","licence":"CVE Terms of Use","modified":"2026-06-23T16:00:21.739Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6f4-qqrg-jv6x","url":"https://github.com/advisories/GHSA-q6f4-qqrg-jv6x","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.091Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50170","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50170","licence":"Public domain","modified":"2026-07-09T15:31:59.043Z"}],"updatedAt":"2026-11-25T22:59:25.385Z","epss":{"score":0.00352,"percentile":0.30886,"date":"2026-12-01T12:00:22.000Z"}}