CVE-2026-27739: Angular SSR - Server-Side Request Forgery
- Cve: CVE-2026-27739
- Name: Angular SSR - Server-Side Request Forgery
- 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.
- Impact: Attackers can perform internal request steering, leading to credential theft, internal network probing, and confidentiality breaches.
- Remediation: Upgrade to versions 21.2.0-rc.1, 21.1.5, 20.3.17, or 19.2.21 or later. Implement middleware to validate hostnames and ports if immediate upgrade is not possible.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: server_side_request_forgery, information_disclosure
- Requirements: Attacker must control HTTP headers and have network access to the application server without header validation.
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.2
- Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00566
- Epss percentile: 0.47626
- Assignee: [email protected]
- Published at: 2026-02-25T18:23:40Z
- Age in days: 272
- Modified at: 2026-06-17T10:27:36Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27739
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Mr-Red-007/CVE-2026-27739-POC | poc-in-github | 2026-10-22 |
| https://github.com/mr-redoo7/CVE-2026-27739-POC | poc-in-github | 2026-04-08 |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| angular:angular_cli | >= 21.2.0-next.2, < 21.2.0-rc.0; >= 21.0.0-next.0, < 21.1.5; >= 20.0.0-next.0, < 20.3.17; < 19.2.21 | no | cna_alias_text | /v1/products/angular/angular_cli |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| angular/angular-cli | package, pull, security_advisory | yes | /v1/repositories/angular/angular-cli |
Index
- Repositories: 8
- Repositories high signal: 4
- Packages: 3
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-04-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts