Disclosure summary
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.
Source-reported weakness categories
CWE-22
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub Reviewed Security Advisories · GHSA-7g7c-h8rr-7p6q
Open original source · Updated Oct 05, 2026
Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
Source severity: MEDIUM / 6.3
| Ecosystem | Package | Affected range | First patched |
|---|---|---|---|
| npm | @angular/ssr | >= 22.0.0, < 22.1.7 | 22.1.7 |
| npm | @angular/ssr | >= 21.0.0, < 21.2.23 | 21.2.23 |
| npm | @angular/ssr | >= 20.0.0, < 20.3.36 | 20.3.36 |
| npm | @angular/ssr | Not supplied |
NIST National Vulnerability Database · NVD-CVE-2026-104871
Open original source · Updated Oct 02, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
Original records & references
- NIST NVD record
- CVE Program record
- github.com
- github.com
- github.com
- github.com
- github.com
- github.com
- github.com
- github.com
PUBLISHED 2026-10-02T16:17:00-04:00
MODIFIED 2026-10-02T17:16:54-04:00
INGESTED 2026-10-06T11:45:30-04:00