cve.bz

CVE-2026-27739 angular: SSRF

9.2 criticalEPSS 0.6%Fix available

Critical (9.2) in angular. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in @angular/ssr 19.2.21, 20.3.17, 21.1.5.

On this page
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 4.0

9.2 critical
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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-02-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • @angular/ssr (npm): fixed in 21.2.0-rc.1, 21.1.5, 20.3.17, 19.2.21

Ask an AI about this CVE

Show the promptExplain CVE-2026-27739 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27739?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27739?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27739 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x288-3778-4hhxnpm@angular/ssr>=21.2.0-next.0 <21.2.0-rc.121.2.0-rc.1
GHSA-x288-3778-4hhxnpm@angular/ssr>=21.0.0-next.0 <21.1.521.1.5
GHSA-x288-3778-4hhxnpm@angular/ssr>=20.0.0-next.0 <20.3.1720.3.17
GHSA-x288-3778-4hhxnpm@angular/ssr<19.2.2119.2.21
GHSA-x288-3778-4hhxnpm@nguniversal/common<=16.2.0no fix published
GHSA-x288-3778-4hhxnpm@nguniversal/express-engine<=16.2.0no fix published

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON