CVE-2026-78208 exceljs through 4.4.0 Path Traversal via Unvalidated addImage filename

High 8.7 Published Updated

Attackers can read arbitrary files accessible to the Node.js process by supplying malicious paths to the addImage function in exceljs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-78208?

CVE-2026-78208 is a high-severity path traversal vulnerability in exceljs, published on 24 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

exceljs through 4.4.0 contains a path traversal vulnerability in the Workbook.addImage() function that fails to validate file paths. Attackers can supply arbitrary file paths to read any file accessible to the Node.js process and embed it in the generated workbook.

Weakness: CWE-73

Which versions are affected by CVE-2026-78208?

How do I fix CVE-2026-78208?

No fix has been published for CVE-2026-78208 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-78208 being exploited?

There is no known exploitation of CVE-2026-78208 in the wild and no public exploit code.

Sources

Also known as GHSA-m8mg-8574-gm3m, GHSA-vw3h-4fh6-vvqq.

Is CVE-2026-78208 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free