Medium severity · published Oct 2, 2026
CVE-2026-104871
Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
6.3
CVSS
0.4%
EPSS
No
On KEV
Description
The Angular SSR is a server-rise rendering tool for Angular applications. Prior to versions 20.3.36, 21.2.23, and 22.1.7, the CommonEngine retrieveSSGPage prerendered-page retrieval logic in @angular/ssr/node, and in @angular/ssr for versions 17 through 18, accepts a relative request URL containing a backslash parent-traversal segment on Windows. The non-special resolve:// URL base preserves the backslash, path.join interprets it as a Windows separator, and the pagePath.startsWith(normalize(publicPath)) check incorrectly accepts a sibling output directory whose name shares the configured public-directory prefix. An unauthenticated requester can therefore retrieve a sibling prerendered HTML page when that page contains the Angular SSG marker. The issue is limited to Windows deployments that pass relative request URLs to CommonEngine.render, have a prefix-sharing sibling output directory, and contain qualifying prerendered Angular HTML; it does not provide arbitrary file read. This issue is fixed in versions 20.3.36, 21.2.23, and 22.1.7.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 36% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
angular-cli · angular
< 20.3.36; >= 21.0.0, < 21.2.23; >= 22.0.0, < 22.1.7 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-104871
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-104871
x_refsource_CONFIRM
https://github.com/angular/angular-cli/security/advisories/GHSA-7g7c-h8rr-7p6q
x_refsource_MISC
https://github.com/angular/angular-cli/commit/645e41a47d21b7651837a4250de99af0509626e2
x_refsource_MISC
https://github.com/angular/angular-cli/commit/70748ca8e76fe4b42798719410336119d943e755
x_refsource_MISC
https://github.com/angular/angular-cli/commit/bb72145f9ab45aee29f523236b3a25cd0813a841
x_refsource_MISC
https://github.com/angular/angular-cli/commit/c3e5982e49705f0f6a913cb94622b4c555d2d914
x_refsource_MISC
https://github.com/angular/angular-cli/releases/tag/v20.3.36
More from angular-cli
9.2
CVE-2026-27739
Angular SSR is vulnerable to SSRF and Header Injection via request handling pipeline
9.0
CVE-2026-32635
Angular has XSS in i18n attribute bindings
6.9
CVE-2026-27738
Angular SSR has an Open Redirect via X-Forwarded-Prefix
6.1
CVE-2026-44437
Angular SSR: Open Redirect and Request Steering via Encoded X-Forwarded-Prefix
6.1
CVE-2026-33397
Angular SSR Vulnerable to Protocol-Relative URL Injection via Single Backslash Bypass
