CVE-2026-128347: ExcelJS External Control of File Path
Published 2026-11-13 · Updated 2026-11-17 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- The advisory lists versions through 4.4.0 as affected and does not name a fixed release. Check the references below for a newer version of ExcelJS or a vendor mitigation.
- Until it is patched, do not leave ExcelJS reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Restrict the service account to the directories it needs and block path input in the affected parameter.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| ExcelJS | ≤ 4.4.0 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: External Control of File Path
An attacker can influence which file the software reads or writes, exposing or overwriting files it should not touch.
Classified as CWE-73.
Description
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-f9m8-8qmf-qq29
- Advisoryhttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-arbitrary-file-read-via-workbookwriter-addimage-filename
- Referencehttps://github.com/exceljs/exceljs
- Referencehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/stream/xlsx/workbook-writer.js#L124-L130
- Referencehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/stream/xlsx/workbook-writer.js#L230-L237