# CVE-2026-104871: Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-02T19:43:50.475Z
- Modified: 2026-10-06T16:00:36.547Z
- Also known as: GHSA-7g7c-h8rr-7p6q
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- angular angular-cli: < 20.3.36; >= 21.0.0, < 21.2.23; >= 22.0.0, < 22.1.7
- @angular/ssr (npm): from 22.0.0 before 22.1.7; from 21.0.0 before 21.2.23; from 20.0.0 before 20.3.36; up to 19.2.27

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/angular/angular-cli/security/advisories/GHSA-7g7c-h8rr-7p6q> (web)
- <https://github.com/angular/angular-cli/commit/645e41a47d21b7651837a4250de99af0509626e2> (web)
- <https://github.com/angular/angular-cli/commit/70748ca8e76fe4b42798719410336119d943e755> (web)
- <https://github.com/angular/angular-cli/commit/bb72145f9ab45aee29f523236b3a25cd0813a841> (web)
- <https://github.com/angular/angular-cli/commit/c3e5982e49705f0f6a913cb94622b4c555d2d914> (web)
- <https://github.com/angular/angular-cli/releases/tag/v20.3.36> (web)
- <https://github.com/angular/angular-cli/releases/tag/v21.2.23> (web)
- <https://github.com/angular/angular-cli/releases/tag/v22.1.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-104871> (advisory)
- <https://github.com/angular/angular-cli> (package)

## Sources

- CVE List: [CVE-2026-104871](https://www.cve.org/CVERecord?id=CVE-2026-104871), CVE Terms of Use, modified 2026-10-02
- GitHub Advisory Database: [GHSA-7g7c-h8rr-7p6q](https://github.com/advisories/GHSA-7g7c-h8rr-7p6q), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-104871](https://nvd.nist.gov/vuln/detail/CVE-2026-104871), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-104871 · Whole record: https://cve.day/CVE-2026-104871.json · Rebuilt by cve.day 2026-11-25T22:59:42.000Z
