Skip to main content

exceljs-hardened EUVDEUVD-2026-64683

| CVE-2026-78208 HIGH
External Control of File Name or Path (CWE-73)
2026-08-24 VulnCheck GHSA-vw3h-4fh6-vvqq
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted HTTP request with traversal path
  2. Delivery
    Application passes path to Workbook.addImage()
  3. Exploit
    Library reads targeted file from filesystem
  4. Execution
    File contents embedded in generated workbook
  5. Persist
    Workbook returned in HTTP response
  6. Impact
    Attacker extracts sensitive data from blob

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires that the target application accepts user-controlled input and passes it without sanitization to the exceljs-hardened Workbook.addImage() function. The Node.js process must have read access to the targeted file (e.g., /etc/passwd, /proc/self/environ, application secret files, or private keys). No non-default library configuration or feature flag is required - the flaw exists in the default behavior of the addImage() function itself. Exploitation is blocked when the calling application independently validates and restricts file paths prior to calling addImage(), or when the addImage() function is never invoked with user-supplied input. Application-layer authentication, if present, would limit exploitation to authenticated users; the library itself enforces no authentication, consistent with the CVSS PR:N rating.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.7, reflecting a network-exploitable flaw with no attack complexity, no privilege requirement, and no user interaction at the library level. These metrics correctly describe the library's own behavior; real-world exploitability is further gated by whether the consuming application exposes addImage() to user-controlled input - a design decision that varies widely across deployments. EPSS data was not provided, and this CVE does not appear in CISA KEV, indicating no confirmed widespread active exploitation. No public exploit code has been identified at time of analysis. The confidentiality impact is high and targeted - arbitrary file reads against Node.js process-readable paths can yield private keys, environment variables, database credentials, and application secrets - while integrity and availability are unaffected. The absence of KEV listing and EPSS data limits automated prioritization; defenders should assess whether their applications pipe user input into addImage() and, if so, treat this as an urgent remediation given the trivial exploitation path once that condition is satisfied.

Exploit ScenarioDerived

An attacker submits a crafted HTTP request to a web application that generates Excel workbooks containing embedded images, supplying a filename such as '../../../../etc/passwd' or '/proc/self/environ' as the image source. The application passes this value without sanitization to Workbook.addImage(), causing the Node.js process to read the target file and embed its raw contents in the returned workbook. The attacker downloads the file and extracts the sensitive content from the embedded image blob.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Path traversal in exceljs-hardened before 5.0.0 allows unauthenticated attackers to read arbitrary files from the server filesystem by supplying crafted paths to the Workbook.addImage() function, which performs no input validation before passing the value to Node.js file system APIs. Any Node.js application that exposes this function to user-controlled input is at risk of exposing secrets, credentials, configuration files, and any other content readable by the process. No public exploit has been identified at time of analysis; vendor-released patch is available as version 5.0.0.

RemediationAI

Upgrade to exceljs-hardened version 5.0.0 or later, which resolves this vulnerability per the GitHub security advisory GHSA-m8mg-8574-gm3m at https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-m8mg-8574-gm3m. If an immediate upgrade is not feasible, the consuming application must independently validate and sanitize all file paths supplied to Workbook.addImage() before invocation: resolve the input path with Node.js path.resolve(), confirm it falls within an explicitly allowed base directory using a startsWith() check, and reject any path containing traversal sequences. This workaround must be implemented at the application layer, introduces ongoing maintenance overhead, and is not a substitute for patching. Upgrading to 5.0.0 is the definitive remediation.

Affected VersionsENISA

exceljs 0 ≤4.4.0

Affected Packages

euvd exceljs no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-73 (External Control of File Name or Path) applies when externally-supplied data is used to construct a file path without adequate sanitization. The Workbook.addImage() method in exceljs-hardened accepts a filename argument and passes it directly to Node.js filesystem APIs, reading the file content and embedding it into the generated .xlsx workbook. The vulnerable logic is traceable to the upstream exceljs v4.4.0 codebase at lib/doc/workbook.js (lines 142-147) and lib/xlsx/xlsx.js (lines 421-429), as cited in the references. An attacker can supply traversal sequences such as '../../../etc/passwd' or absolute paths such as '/run/secrets/api_key' to cause the process to read and embed the target file. The library is a Node.js package and the affected CPE is cpe:2.3:a:exceljs:exceljs:*:*:*:*:*:*:*:*, though the CVE specifically concerns the exceljs-hardened fork maintained by mateocallec.

Know when Exceljs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Network-exploitable with no privilege requirement or user interaction at the library level; impact is confidentiality-only as the flaw enables arbitrary file reads but not writes or service disruption.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

exceljs-hardened versions before 5.0.0 contain a path traversal vulnerability in the Workbook.addImage() function that enables unauthenticated attackers to read arbitrary files from the server filesystem, including credentials, secrets, and configuration files. Organizations using affected versions that expose this function to user input face unauthorized disclosure of sensitive data.

Business Impact: High
Compensating Controls

Apply vendor patch to exceljs-hardened 5.0.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche hardened fork of exceljs with limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in exceljs-hardened Multiple Security Vulnerabilities

View all 4
CVE-2018-16459 MEDIUM POC
6.1 Sep 06

An unescaped payload in exceljs <v1.6 allows a possible XSS via cell value when worksheet is displayed in browser. Rated

CVE-2026-128339 HIGH
8.7 Nov 13

Parsing an untrusted XLSX workbook with ExcelJS through 4.4.0 can exhaust the Node.js heap and abort the entire process,

CVE-2026-128343 HIGH
8.7 Nov 13

Denial of service in ExcelJS through 4.4.0: a crafted XLSX containing a <row> element numbered far beyond Excel's 1,048,

CVE-2026-128338 HIGH
8.7 Nov 13

ExcelJS through 4.4.0 can be crashed by a crafted .xlsx workbook whose worksheet col element has an unbounded max value:

CVE-2026-128340 HIGH
8.7 Nov 13

Loading a maliciously crafted spreadsheet can abort the entire Node.js process in ExcelJS through 4.4.0: a single define

CVE-2026-128341 HIGH
8.7 Nov 13

Loading an attacker-supplied .xlsx workbook with ExcelJS through 4.4.0 can exhaust CPU and memory and terminate the Node

CVE-2026-128342 HIGH
8.7 Nov 13

Denial of service in ExcelJS through 4.4.0 lets a remote, unauthenticated attacker stall a Node.js service for seconds a

CVE-2026-128344 HIGH
8.7 Nov 13

Heap-exhaustion denial of service in ExcelJS through 4.4.0 lets an unauthenticated attacker crash a Node.js application

CVE-2026-128346 HIGH
8.7 Nov 13

ExcelJS through 4.4.0 leaks temporary files and open file descriptors when the streaming WorkbookReader aborts mid-parse

CVE-2026-128347 HIGH
8.7 Nov 13

Arbitrary local file read in ExcelJS lets a crafted image filename pull any file the Node.js process can read into a gen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy