CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.42% in 30 days
higher than 38% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
angularangular-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?

EcosystemPackageAffectedFixed inAdvisory
npm@angular/ssr>= 22.0.0, < 22.1.722.1.7GHSA-7g7c-h8rr-7p6q
npm@angular/ssr>= 21.0.0, < 21.2.2321.2.23GHSA-7g7c-h8rr-7p6q
npm@angular/ssr>= 20.0.0, < 20.3.3620.3.36GHSA-7g7c-h8rr-7p6q
npm@angular/ssr<= 19.2.27none listedGHSA-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?

ScoreVersionVectorSource
Medium 6.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_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?

Where are the vendor advisories and references?

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?

Every CVE in angular-cli

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.