{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-104871","id":"CVE-2026-104871","title":"Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows","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 b","descriptionLong":"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.","published":"2026-10-02T19:43:50.475Z","updated":"2026-10-28T02:31:03.600170086Z","reserved":"2026-10-02T14:59:11.775Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["angular-cli"],"affectedProducts":[{"vendor":"angular","product":"angular-cli","defaultStatus":null,"versions":[{"version":"< 20.3.36","status":"affected"},{"version":">= 21.0.0, < 21.2.23","status":"affected"},{"version":">= 22.0.0, < 22.1.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@angular/ssr","purl":"pkg:npm/%40angular/ssr","ranges":[">=22.0.0 <22.1.7",">=21.0.0 <21.2.23",">=20.0.0 <20.3.36","<=19.2.27"],"fixed":["22.1.7","21.2.23","20.3.36"],"advisory":"GHSA-7g7c-h8rr-7p6q"}],"cwes":["CWE-22"],"aliases":["GHSA-7g7c-h8rr-7p6q"],"references":[{"url":"https://github.com/angular/angular-cli/security/advisories/GHSA-7g7c-h8rr-7p6q","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/angular/angular-cli/commit/645e41a47d21b7651837a4250de99af0509626e2","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/angular/angular-cli/commit/70748ca8e76fe4b42798719410336119d943e755","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/angular/angular-cli/commit/bb72145f9ab45aee29f523236b3a25cd0813a841","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/angular/angular-cli/commit/c3e5982e49705f0f6a913cb94622b4c555d2d914","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/angular/angular-cli/releases/tag/v20.3.36","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/angular/angular-cli/releases/tag/v21.2.23","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/angular/angular-cli/releases/tag/v22.1.7","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104871.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104871","tags":["advisory"]},{"url":"https://github.com/angular/angular-cli","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00421,"epssPercentile":0.3721,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-104871","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104871","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-104871","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7g7c-h8rr-7p6q","ok":true,"note":"GHSA-7g7c-h8rr-7p6q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-104871","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}