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

Published Aug 24, 2026
·
Updated

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.

Affected Software

2 affected components
exceljs<=4.4.0
exceljs-hardened<5.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade exceljs to a version that resolves this vulnerability.

    Fixed in 4.4.0
  2. Upgrade

    Upgrade exceljs-hardened to a version that resolves this vulnerability.

    Fixed in 5.0.0

Event History

Aug 24, 2026
CVE Published
via MITRE·12:30 AM
Data Sourced
via MITRE·12:30 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Applications using exceljs-hardened versions before 5.0.0 are affected. The issue applies where untrusted input can influence the filename passed to Workbook.addImage().

2

What does an attacker need to exploit this?

An attacker needs a way to supply an arbitrary file path to Workbook.addImage() through the application. No authentication or user interaction is required according to the provided severity vector.

3

What is the impact of successful exploitation?

The attacker can cause the Node.js process to read files accessible to its operating-system account and embed their contents in a generated workbook. Integrity and availability impact are not indicated.

4

What can be done before upgrading?

Do not pass untrusted filenames directly to Workbook.addImage(). Restrict image inputs to approved files or paths and validate that resolved paths remain within an intended directory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203