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

CVE-2026-44437: Angular SSR has Open Redirect and Request Steering via Encoded X-Forwarded-Prefix

May 6, 2026

A vulnerability exists in the X-Forwarded-Prefix header processing logic within Angular SSR. The internal validation mechanism fails to properly account for URL-encoded characters, specifically dots (%2e%2e). This allows an attacker to bypass security filters by injecting encoded path traversal sequences that are later decoded and utilized by the application logic. When an Angular SSR application is configured to trust proxy headers and is deployed behind a proxy that forwards the X-Forwarded-Prefix header without prior sanitization, an attacker can provide a payload such as /%2e%2e/evil.

The vulnerability manifests in two ways:

  • Open Redirect: The application processes a redirect (e.g., router redirectTo). The decoded traversal payload manipulates the Location header, forcing the browser to an unintended path or external domain.
  • Server-Side Request Steering: The manipulated prefix is used as the base path for server-side HttpClient requests. This causes the server to make requests to unintended internal paths or external endpoints.

References

  • angular.dev/best-practices/security
  • github.com/advisories/GHSA-69xr-m8h6-h664
  • github.com/angular/angular-cli
  • github.com/angular/angular-cli/pull/33031
  • github.com/angular/angular-cli/security/advisories/GHSA-69xr-m8h6-h664
  • nvd.nist.gov/vuln/detail/CVE-2026-44437

Code Behaviors & Features

Detect and mitigate CVE-2026-44437 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 starting from 19.0.0-next.0 before 19.2.25, all versions starting from 20.0.0-next.0 before 20.3.25, all versions starting from 21.0.0-next.0 before 21.2.9, all versions starting from 22.0.0-next.0 before 22.0.0-next.7

Fixed versions

  • 22.0.0-next.7
  • 21.2.9
  • 20.3.25
  • 19.2.25

Solution

Upgrade to versions 19.2.25, 20.3.25, 21.2.9, 22.0.0-next.7 or above.

Impact 7.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/@angular/ssr/CVE-2026-44437.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 00:19:27 +0000.