CVE-2026-78208: exceljs-hardened before 5.0.0 contains a path traversal vulnerability in the Workbook.addImage() function that fails to validate file paths
Affects exceljs-hardenedSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 5.0.0 soon.
Data as of 21 Nov 2026, 17:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade exceljs-hardened to 5.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmexceljs-hardenedpkg:npm/exceljs-hardenedOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using the Workbook.addImage() function with untrusted input or restrict file system permissions for the Node.js process to limit file access.
Description
A path traversal vulnerability exists in exceljs-hardened versions before 5.0.0 in the Workbook.addImage() function. This flaw allows attackers to supply arbitrary file paths, enabling them to read any file accessible to the Node.js process and embed its contents into the generated workbook. The vulnerability has a high severity rating with a CVSS score of 7.5.
References
- github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-m8mg-8574-gm3m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-78208 (opens in a new tab)
- github.com/exceljs/exceljs (opens in a new tab)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/workbook.js (opens in a new tab)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xlsx.js (opens in a new tab)
- vulncheck.com/advisories/exceljs-through-path-traversal-via-unvalidated-addimage-filename (opens in a new tab)