Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-104871
Published:October 02, 2026
Updated:October 09, 2026
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.
Affected Packages
https://github.com/angular/angular-cli.git (GITHUB):
Affected version(s) >=v22.0.0-rc.0 <v22.1.7
Fix Suggestion:
Update to version v22.1.7
https://github.com/angular/angular-cli.git (GITHUB):
Affected version(s) >=v20.3.14 <v20.3.36
Fix Suggestion:
Update to version v20.3.36
https://github.com/angular/angular-cli.git (GITHUB):
Affected version(s) >=v21.0.3 <v21.2.23
Fix Suggestion:
Update to version v21.2.23
@angular/ssr (NPM):
Affected version(s) >=22.0.0-rc.0 <22.1.7
Fix Suggestion:
Update to version 22.1.7
@angular/ssr (NPM):
Affected version(s) >=20.0.0-rc.0 <20.3.36
Fix Suggestion:
Update to version 20.3.36
@angular/ssr (NPM):
Affected version(s) >=21.0.0-rc.0 <21.2.23
Fix Suggestion:
Update to version 21.2.23
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.42