CVE-2026-68945

CVE-2026-68945 is a high-severity security vulnerability in @angular/common (npm), affecting versions >= 22.0.0-next.0, < 22.0.2. It is fixed in 22.0.2, 21.2.19, 20.3.27.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning

Angular's HttpTransferCache caches HTTP requests made during Server-Side Rendering (SSR) so that they can be reused during client-side hydration.

During SSR, HttpTransferCache previously generated identical key material for distinct request parameters when repeated values were present because repeated values were joined with commas:

new HttpParams().set('role', 'user,admin')
new HttpParams().append('role', 'user').append('role', 'admin')

Both requests previously serialized as role=user,admin, allowing distinct HttpClient requests to produce the same transfer-cache key material.

Patched Versions

  • 22.0.2
  • 21.2.19
  • 20.3.27

Workarounds

If you cannot upgrade immediately, configure your HttpClient requests to skip transfer caching for sensitive endpoints where repeated parameter keys are used:

this.http.get('/api/resource', {
  transferCache: false
});

Alternatively, disable the HTTP transfer cache globally in your application bootstrap config:

import { provideClientHydration, withNoHttpTransferCache } from '@angular/platform-browser';

export const appConfig = {
  providers: [
    provideClientHydration(
      withNoHttpTransferCache()
    )
  ]
};

Impact

In an SSR application, this cache-key ambiguity can make a later security-sensitive HttpClient request receive the response from an earlier semantically different request in the same render. For example, an attacker-influenced scalar-comma request can be cached and then replayed as the response for a trusted repeated-param authorization or data request to the same URL. As a result, Angular's server-rendered output can be based on the wrong backend response because the trusted request is not dispatched. This can lead to:

  • State Poisoning: Using incorrect or attacker-influenced cached responses for subsequent application logic.
  • Cross-Request Response Reuse: Reusing cached responses across requests with semantically different parameters.

Affected versions

@angular/common (>= 22.0.0-next.0, < 22.0.2) @angular/common (>= 21.0.0-next.0, < 21.2.19) @angular/common (>= 20.0.0-next.0, < 20.3.27) @angular/common (<= 19.2.25)

Security releases

@angular/common → 22.0.2 (npm) @angular/common → 21.2.19 (npm) @angular/common → 20.3.27 (npm)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade the following packages to resolve this vulnerability:

@angular/common to 22.0.2 or later; @angular/common to 21.2.19 or later; @angular/common to 20.3.27 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2026-68945? CVE-2026-68945 is a high-severity security vulnerability in @angular/common (npm), affecting versions >= 22.0.0-next.0, < 22.0.2. It is fixed in 22.0.2, 21.2.19, 20.3.27.
  2. Which versions of @angular/common are affected by CVE-2026-68945? @angular/common (npm) versions >= 22.0.0-next.0, < 22.0.2 is affected.
  3. Is there a fix for CVE-2026-68945? Yes. CVE-2026-68945 is fixed in 22.0.2, 21.2.19, 20.3.27. Upgrade to this version or later.
  4. Is CVE-2026-68945 exploitable, and should I be worried? Whether CVE-2026-68945 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2026-68945 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2026-68945?
    • Upgrade @angular/common to 22.0.2 or later
    • Upgrade @angular/common to 21.2.19 or later
    • Upgrade @angular/common to 20.3.27 or later

Other vulnerabilities in @angular/common

Stop the waste.
Protect your environment with Kodem.