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.
Published: 2026-08-24
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Local File Read via Path Traversal
Action: Upgrade
AI Analysis

Impact

The vulnerability originates from the Workbook.addImage() function in exceljs, which fails to validate the file path supplied by the caller. By providing arbitrary file paths, an attacker can cause the library to read any file the Node.js process can access and embed its contents into the generated workbook. This flaw, categorized as CWE-73, allows local file read and potential information disclosure, as sensitive files such as configuration or credential files could be exposed when the workbook is served or opened.

Affected Systems

The affected product is exceljs and the hardened variant of exceljs prior to version 5.0.0. The vulnerability is present in releases up through version 4.4.0. Any project that imports or uses the exceljs library, directly or via a hardened wrapper, before upgrading to 5.0.0 or later, could be affected.

Risk and Exploitability

The CVSS score of 8.7 marks this as a high‑severity flaw. Although the EPSS score is low (<1%), the high CVSS score indicates potential for significant impact if the flaw is exploited. This typically requires that the attacker has some influence over the input processed by the Node.js application or that the application itself is compromised. The Node.js process must have read access to the target file, which is usually the case for many deployments. Because the flaw can read arbitrary files, the impact on confidentiality can be significant, and the lack of a KEV listing does not mean it is safe. Given the low EPSS, exploitation is likely to be rare, though the flaw could still be leveraged if attacker‑controlled input can reach the addImage call.

Generated by OpenCVE AI on August 29, 2026 at 13:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to exceljs 5.0.0 or later, or use the hardened package v5.0.0 or newer to remove the flaw.
  • Prior to calling Workbook.addImage, validate or sanitize the filename by rejecting relative paths, enforcing a whitelist of allowed directories, and ensuring only trusted paths are used.
  • Configure the Node.js process to run with the minimum file system permissions required, restricting read access to sensitive files such as /etc/passwd or application configuration directories.

Generated by OpenCVE AI on August 29, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description exceljs-hardened before 5.0.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. 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.

Fri, 28 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
Description exceljs-hardened before 5.0.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.
Title exceljs through 4.4.0 Path Traversal via Unvalidated addImage filename
First Time appeared Exceljs Project
Exceljs Project exceljs
Weaknesses CWE-73
CPEs cpe:2.3:a:exceljs_project:exceljs:*:*:*:*:*:*:*:*
Vendors & Products Exceljs Project
Exceljs Project exceljs
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Exceljs Project Exceljs
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-29T11:47:58.602Z

Reserved: 2026-08-24T00:15:01.656Z

Link: CVE-2026-78208

cve-icon Vulnrichment

Updated: 2026-08-26T15:58:26.011Z

cve-icon NVD

Status : Deferred

Published: 2026-08-24T01:16:58.280

Modified: 2026-08-31T20:52:56.343

Link: CVE-2026-78208

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T14:00:07Z

Weaknesses
  • CWE-73

    External Control of File Name or Path