CVE-2026-27739

Angular SSR is vulnerable to SSRF and Header Injection via request handling pipeline

9.2 critical EPSS 0.57%

Published 25 Feb 2026 Updated 27 Feb 2026 CNA: GitHub_M

Check your servers for CVE-2026-27739

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-27739 affects angular-cli, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

The Angular SSR is a server-rise rendering tool for Angular applications. Versions prior to 21.2.0-rc.1, 21.1.5, 20.3.17, and 19.2.21 have a Server-Side Request Forgery (SSRF) vulnerability in the Angular SSR request handling pipeline. The vulnerability exists because Angular’s internal URL reconstruction logic directly trusts and consumes user-controlled HTTP headers specifically the Host and `X-Forwarded-*` family to determine the application's base origin without any validation of the destination domain. Specifically, the framework didn't have checks for the host domain, path and character sanitization, and port validation. This vulnerability manifests in two primary ways: implicit relative URL resolution and explicit manual construction. When successfully exploited, this vulnerability allows for arbitrary internal request steering. This can lead to credential exfiltration, internal network probing, and a confidentiality breach. In order to be vulnerable, the victim application must use Angular SSR (Server-Side Rendering), the application must perform `HttpClient` requests using relative URLs OR manually construct URLs using the unvalidated `Host` / `X-Forwarded-*` headers using the `REQUEST` object, the application server must be reachable by an attacker who can influence these headers without strict validation from a front-facing proxy, and the infrastructure (Cloud, CDN, or Load Balancer) must not sanitize or validate incoming headers. Versions 21.2.0-rc.1, 21.1.5, 20.3.17, and 19.2.21 contain a patch. Some workarounds are available. Avoid using `req.headers` for URL construction. Instead, use trusted variables for base API paths. Those who cannot upgrade immediately should implement a middleware in their `server.ts` to enforce numeric ports and validated hostnames.

Severity (CVSS)

9.2 critical CVSS 4.0 from GitHub_M (CNA)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality high, integrity low, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 48.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 27 Feb 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-918 Server-Side Request Forgery

Affected products

As the CNA lists them.

ProductVersions
angular-cli
affected >= 21.2.0-next.2, < 21.2.0-rc.0
affected >= 21.0.0-next.0, < 21.1.5
affected >= 20.0.0-next.0, < 20.3.17
affected < 19.2.21
@nguniversal/common
affected <= 16.2.0
@nguniversal/express-engine
affected <= 16.2.0

Is my server affected?

Find the installed version of angular-cli and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i angular-cli
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-27739 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-27739

RHEL, Rocky, Alma, Fedora

rpm -q angular-cli
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-27739

Alpine

apk list --installed | grep -i angular-cli

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-27739
trivy image --scanners vuln IMAGE | grep CVE-2026-27739

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2026-27739 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.