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


- **Severity:** High 8.7 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 13 Nov 2026
- **Updated:** 13 Nov 2026
- **Also known as:** GHSA-f9m8-8qmf-qq29, GHSA-jf4h-9vf8-6gmp

## What is CVE-2026-128347?

CVE-2026-128347 is a high-severity vulnerability in exceljs, published on 13 Nov 2026. 

### Official 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.

Weakness: CWE-73 (External Control of File Name or Path)

## Which versions are affected by CVE-2026-128347?

1 open source package ship an affected version, including exceljs. It affects 1 product.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `exceljs` | npm | `pkg:npm/exceljs` | All versions to 4.4.0 | None |

Products: Exceljs.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:exceljs_project:exceljs:*:*:*:*:*:node.js:*:*` up to 4.4.0

Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Upstream |  | affected | `exceljs_project:exceljs` |  |

## How do I fix CVE-2026-128347?

No fix has been published for CVE-2026-128347 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-128347 being exploited?

There is no known exploitation of CVE-2026-128347 in the wild and no public exploit code.

## Other vulnerabilities in exceljs

- [CVE-2026-128338](https://insights.sbomify.com/CVE-2026-128338/): ExcelJS through 4.4.0 Memory Exhaustion via Unbounded Worksheet Column Range (high 8.7)
- [CVE-2026-128339](https://insights.sbomify.com/CVE-2026-128339/): ExcelJS through 4.4.0 Memory Exhaustion via Oversized Merged Cell Range (high 8.7)
- [CVE-2026-128340](https://insights.sbomify.com/CVE-2026-128340/): ExcelJS through 4.4.0 Memory Exhaustion via Oversized Defined Name Range (high 8.7)
- [CVE-2026-128341](https://insights.sbomify.com/CVE-2026-128341/): ExcelJS through 4.4.0 Denial of Service via Oversized Data Validation sqref (high 8.7)
- [CVE-2026-128342](https://insights.sbomify.com/CVE-2026-128342/): ExcelJS through 4.4.0 Denial of Service via Oversized Worksheet sheetId (high 8.7)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-128347 and fix it if it is affected.

What it is: CVE-2026-128347 is a high-severity vulnerability in exceljs, published on 13 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-128347 in the wild and no public exploit code.

Affected packages and fixed versions:
- exceljs (npm): affected all versions up to 4.4.0; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-128347/ (Markdown: https://insights.sbomify.com/CVE-2026-128347/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-128347
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-128347
- OSV: https://osv.dev/vulnerability/CVE-2026-128347

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-128347/
Summaries are generated and may contain mistakes; the official description above is the record.
