Home / angular / angular-cli / CVE-2026-104871
CVE-2026-104871: is it exploited, and which versions of angular-cli are affected and fixed?
CVE-2026-104871 is a path traversal (reading or writing files outside the intended folder) vulnerability in angular-cli. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: @angular/ssr from 22.0.0 before 22.1.7, @angular/ssr from 21.0.0 before 21.2.23, @angular/ssr from 20.0.0 before 20.3.36 and 1 more (GitHub advisory GHSA-7g7c-h8rr-7p6q). Fixed in 22.1.7, 21.2.23 and 20.3.36 (GitHub advisory GHSA-7g7c-h8rr-7p6q). Severity: Medium (6.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-104871?
Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows
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.
From the CVE record by GitHub_M, last updated October 2, 2026, 20:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| angular | angular-cli | < 20.3.36 >= 21.0.0, < 21.2.23 >= 22.0.0, < 22.1.7 |
As the CVE record by GitHub_M states it, last updated October 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @angular/ssr | >= 22.0.0, < 22.1.7 | 22.1.7 | GHSA-7g7c-h8rr-7p6q |
| npm | @angular/ssr | >= 21.0.0, < 21.2.23 | 21.2.23 | GHSA-7g7c-h8rr-7p6q |
| npm | @angular/ssr | >= 20.0.0, < 20.3.36 | 20.3.36 | GHSA-7g7c-h8rr-7p6q |
| npm | @angular/ssr | <= 19.2.27 | none listed | GHSA-7g7c-h8rr-7p6q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 5, 2026. Summary: Angular SSR: Path Traversal to Sibling Directories in CommonEngine on Windows.
How severe is CVE-2026-104871?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-104871 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 2, 2026)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/angular/angular-cli/security/advisories/GHSA-7g7c-h8rr-7p6q x_refsource_CONFIRM
- https://github.com/angular/angular-cli/commit/645e41a47d21b7651837a4250de99af0509626e2 x_refsource_MISC
- https://github.com/angular/angular-cli/commit/70748ca8e76fe4b42798719410336119d943e755 x_refsource_MISC
- https://github.com/angular/angular-cli/commit/bb72145f9ab45aee29f523236b3a25cd0813a841 x_refsource_MISC
- https://github.com/angular/angular-cli/commit/c3e5982e49705f0f6a913cb94622b4c555d2d914 x_refsource_MISC
- https://github.com/angular/angular-cli/releases/tag/v20.3.36 x_refsource_MISC
- https://github.com/angular/angular-cli/releases/tag/v21.2.23 x_refsource_MISC
- https://github.com/angular/angular-cli/releases/tag/v22.1.7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 2, 2026
- Published
- October 2, 2026, 19:43 UTC
- CVE record updated
- October 2, 2026, 20:12 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 6, 2026, 16:00 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect angular-cli?
- May 13, 2026CVE-2026-44437 angular-cli: path traversal (reading or writing files outside the intended folder)
- Mar 26, 2026CVE-2026-33397 angular-cli: open redirect
- Feb 25, 2026CVE-2026-27739 angular-cli: server-side request forgery (SSRF)
- Feb 25, 2026CVE-2026-27738 angular-cli: open redirect
- Oct 16, 2025CVE-2025-62427 angular-cli: server-side request forgery (SSRF)
Questions about CVE-2026-104871
Is CVE-2026-104871 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of angular-cli are affected by CVE-2026-104871?
@angular/ssr from 22.0.0 before 22.1.7, @angular/ssr from 21.0.0 before 21.2.23, @angular/ssr from 20.0.0 before 20.3.36 and @angular/ssr through 19.2.27, per the GitHub advisory GHSA-7g7c-h8rr-7p6q. The tables above give every range the sources list.
Which version fixes CVE-2026-104871?
22.1.7, 21.2.23 and 20.3.36, per the GitHub advisory GHSA-7g7c-h8rr-7p6q. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-104871?
Medium (6.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-104871?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.