Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
angular angular-cli
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Angular SSR 是用于 Angular 应用程序的服务端渲染工具。在版本 20.3.36、21.2.23 和 22.1.7 之前, 中的 的 预渲染页面检索逻辑,以及适用于版本 17 到 18 的 ,在 Windows 系统上接受包含反斜杠父目录遍历段(parent-traversal segment)的相对请求 URL。由于非特殊的 URL 基础保留了反斜杠, 将其解释为 Windows 路径分隔符,并且 检查错误地接受了与其名称共享配置的公共目录前缀的同级输出目录。因此,未经身份验证的请求者可以在该页面

CVSS 6.3 · Medium

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 3

VendorProduct Version RangeStatus
angular angular-cli < 20.3.36 affected
>= 21.0.0, < 21.2.23 affected
>= 22.0.0, < 22.1.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104871

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
angular angular-cli < 20.3.36 -

II. Public POCs for CVE-2026-104871

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104871

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-104871 (4)

Vendor Advisories for CVE-2026-104871 (1)

Vendor Pages for CVE-2026-104871 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-104871

No comments yet


Leave a comment