cve.bz

CVE-2026-50168 angular angular: Origin Validation Error

8.8 highEPSS 0.2%Fix available

High (8.8) in angular angular. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in @angular/platform-server 19.2.23, 20.3.22, 21.2.15.

On this page
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/platform-server package allows remote attackers to bypass host allowlist constraints and direct server-side outgoing requests to arbitrary external endpoints. This occurs due to a parser differential between the strict WHATWG URL parser used for allowlist validation and the lenient Domino URL parser used to initialize the server emulated DOM. When a server-side request contains a malformed URL with a double port structure (e.g., http://evil.com:80:80/path), Node's strict URL.canParse(url) logic returns false and skips host check validation entirely. However, the same malformed URL is later accepted and parsed leniently by Domino's internal parser, which resolves the origin to http://evil.com:80. The Angular SSR HTTP request interceptor (relativeUrlsTransformerInterceptorFn) then resolves all relative backend HTTP requests against this adopted origin, executing the SSRF attack. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Severity

CVSS 4.0

8.8 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th 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-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-346 Origin Validation Error
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50168 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50168?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50168?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-50168 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 NVD's CPE matches.

ProductAffected
angular:angularfrom 2.0.0 through 18.2.14
angular:angularfrom 19.0.0 before 19.2.23
angular:angularfrom 20.0.0 before 20.3.22
angular:angularfrom 21.0.0 before 21.2.15
angular:angular22.0.0:next0
angular:angular22.0.0:next1
angular:angular22.0.0:next10
angular:angular22.0.0:next11
angular:angular22.0.0:next12
angular:angular22.0.0:next2
angular:angular22.0.0:next3
angular:angular22.0.0:next4
angular:angular22.0.0:next5
angular:angular22.0.0:next6
angular:angular22.0.0:next7
angular:angular22.0.0:next8
angular:angular22.0.0:next9
angular:angular22.0.0:rc0
angular:angular22.0.0:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xrxm-cp7j-8xf6npm@angular/platform-server>=22.0.0-next.0 <22.0.0-rc.222.0.0-rc.2
GHSA-xrxm-cp7j-8xf6npm@angular/platform-server>=20.0.0-next.0 <20.3.2220.3.22
GHSA-xrxm-cp7j-8xf6npm@angular/platform-server>=19.0.0-next.0 <19.2.2319.2.23
GHSA-xrxm-cp7j-8xf6npm@angular/platform-server<=18.2.14no fix published
GHSA-xrxm-cp7j-8xf6npm@angular/platform-server>=21.0.0-next.0 <21.2.1521.2.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13angular.jsno fix listedDEBIAN-CVE-2026-50168
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 moreangular.jsno fix listedUBUNTU-CVE-2026-50168

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Important: A Server-Side Request Forgery (SSRF) flaw exists in Angular's `@angular/platform-server` package, allowing remote attackers to bypass host allowlist restrictions. This vulnerability, present in applications utilizing server-side rendering with host routing allowlists, enables the redirection of internal API requests to arbitrary external endpoints, potentially leading to information disclosure or content manipulation.

Red Hat's mitigation

If updating is not immediately possible, restrict the outbound network connectivity of the server-side rendering application to only trusted backend services using network egress filtering or firewall rules to prevent connections to arbitrary external endpoints. Additionally, validate and normalize incoming request URLs and `Host` headers before they are passed to `@angular/platform-server`, rejecting malformed values that could bypass host allowlist validation. Where possible, avoid constructing the SSR request URL directly from untrusted client-supplied `Host` headers or absolute-form request URIs.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50168.

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. More on the page of CWE-346 (16).

References

Check your stackJSON