CVE-2026-128347: ExcelJS through 4.4.0 Arbitrary File Read via WorkbookWriter addImage Filename

Published Nov 13, 2026
·
Updated

ExcelJS through 4.4.0 contains an arbitrary file read vulnerability in the streaming WorkbookWriter that allows attackers to read local files by supplying crafted image filenames to addImage. Attackers can inject ../ path segments into user-controlled image paths, causing addMedia to embed any file readable by the Node.js process under xl/media in the generated workbook.

Affected Software

1 affected component
npm/exceljs<=4.4.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:33 AM
Data Sourced
via MITRE·09:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using ExcelJS streaming WorkbookWriter are exposed if they pass attacker-controlled image filenames to addImage. The affected behavior can read files that are accessible to the Node.js process.

2

What does an attacker need to exploit it?

An attacker needs control over an image filename supplied to addImage. Crafted filenames containing ../ path segments can cause the workbook generation process to include local files in xl/media within the generated workbook.

3

What is the impact of a successful exploit?

The attacker can obtain the contents of arbitrary local files readable by the Node.js process, because those files are embedded in the generated workbook. The provided information describes confidentiality impact only; it does not indicate integrity or availability impact.

4

What can be done if upgrading is not immediately possible?

Do not allow untrusted input to determine image filenames passed to WorkbookWriter addImage. Restrict image paths to validated, expected files and reject path traversal sequences such as ../.

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