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

Published Oct 2, 2026
·
Updated

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 Software

1 affected component
npm/@angular/ssr>=17<=18, <20.3.36, <21.2.23, <22.1.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade @angular/ssr to a version that resolves this vulnerability.

    Fixed in 20.3.36
  2. Upgrade

    Upgrade @angular/ssr to a version that resolves this vulnerability.

    Fixed in 21.2.23
  3. Upgrade

    Upgrade @angular/ssr to a version that resolves this vulnerability.

    Fixed in 22.1.7

Event History

Oct 2, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via MITRE·07:43 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are actually exposed?

Exposure is limited to Windows deployments using Angular SSR where relative request URLs are passed to CommonEngine.render. A qualifying sibling output directory must share the configured public-directory prefix and contain a prerendered Angular HTML page with the Angular SSG marker.

2

Does exploitation require authentication or user interaction?

No. An unauthenticated requester can exploit the issue by supplying a relative request URL containing a backslash parent-traversal segment; no user interaction is required.

3

What data can an attacker retrieve?

The issue can expose qualifying prerendered HTML pages from sibling output directories. It does not allow arbitrary file reads.

4

What versions contain the fix?

Upgrade to version 20.3.36, 21.2.23, or 22.1.7, as applicable. The affected @angular/ssr/node logic is present before those versions, and @angular/ssr is affected for versions 17 through 18.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203