CVE-2026-104871Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
Updated under an hour ago ()
Does this affect you?
It affects angular-cli. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.3 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-22
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 2, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
angular angular-cli angular:cli (from the name) | before 20.3.36; from 21.0.0, < 21.2.23; from 22.0.0, < 22.1.7 | CNA record |
References
- https://github.com/angular/angular-cli/security/advisories/GHSA-7g7c-h8rr-7p6qx-refsource-confirm
- https://github.com/angular/angular-cli/commit/645e41a47d21b7651837a4250de99af0509626e2x-refsource-misc
- https://github.com/angular/angular-cli/commit/70748ca8e76fe4b42798719410336119d943e755x-refsource-misc
- https://github.com/angular/angular-cli/commit/bb72145f9ab45aee29f523236b3a25cd0813a841x-refsource-misc
- https://github.com/angular/angular-cli/commit/c3e5982e49705f0f6a913cb94622b4c555d2d914x-refsource-misc
- https://github.com/angular/angular-cli/releases/tag/v20.3.36x-refsource-misc
- https://github.com/angular/angular-cli/releases/tag/v21.2.23x-refsource-misc
- https://github.com/angular/angular-cli/releases/tag/v22.1.7x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.