Vulnerability · Published Jun 22, 2026 · Assigned by GitHub_M
CVE-2026-46417Angular: SSRF via Hostname Hijacking in @angular/platform-server
High 8.8
In plain English
A high-severity server-side request forgery in angular from angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-next.12, 21.2.13, 20.3.21, and 19.2.22, a Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server. The issue stems from how the server-side rendering (SSR) engine processes the request URL provided to the rendering entry points. When an absolute-form URL (e.g., http://evil.com) is passed to the rendering engine, the internal ServerPlatformLocation can be manipulated into adopting the attacker-controlled domain as the "current" hostname. Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services. This vulnerability is fixed in 22.0.0-next.12, 21.2.13, 20.3.21, and 19.2.22.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | angular.js | no fix listed | DEBIAN-CVE-2026-46417 |
| Debian:13 | angular.js | no fix listed | DEBIAN-CVE-2026-46417 |
| Ubuntu:22.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-46417 |
| Ubuntu:24.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-46417 |
| Ubuntu:25.10 | angular.js | no fix listed | UBUNTU-CVE-2026-46417 |
| Ubuntu:26.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-46417 |
| Ubuntu:26.10 | angular.js | no fix listed | UBUNTU-CVE-2026-46417 |
| npm | @angular/platform-server | no fix listed | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | 19.2.22 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | 20.3.21 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | 21.2.13 | GHSA-rfh7-fxqc-q52v |
| npm | @angular/platform-server | 22.0.0-next.12 | GHSA-rfh7-fxqc-q52v |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/angular/angular/security/advisories/GHSA-rfh7-fxqc-q52v x_refsource_CONFIRM
- https://github.com/angular/angular/pull/68570 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-46417 vdb-entry, x_refsource_REDHAT
- RHBZ#2491444 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46417.json x_sadp-csaf-vex