CVE-2026-78208
Received Received - Intake

Path Traversal in exceljs-hardened Workbook.addImage

Vulnerability report for CVE-2026-78208, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-24

Last updated on: 2026-08-24

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-24
Last Modified
2026-08-24
Generated
2026-08-24
AI Q&A
2026-08-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
exceljs exceljs to 4.4.0 (inc)
exceljs-hardened exceljs-hardened 5.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-78208 is a path traversal vulnerability in the exceljs-hardened library before version 5.0.0. It occurs in the Workbook.addImage() function where user-supplied file paths are not properly validated before being passed to fs.readFile(). Attackers can use path traversal sequences like ../ to read any file accessible to the Node.js process and embed it in a generated workbook.

Detection Guidance

Check if your system uses exceljs or exceljs-hardened versions vulnerable to CVE-2026-78208 (up to 4.4.0). Inspect code for Workbook.addImage() calls with user-supplied filenames. Use commands like 'npm list exceljs' or 'npm list exceljs-hardened' to check installed versions.

Impact Analysis

This vulnerability allows attackers to read sensitive files on the system where the Node.js process has access. If exploited, it could lead to unauthorized data exposure, including system files, configuration files, or other confidential information. The impact is high due to the lack of required privileges or user interaction for exploitation.

Compliance Impact

This vulnerability could lead to violations of data protection regulations like GDPR and HIPAA by enabling unauthorized access to sensitive personal or health information. Organizations using vulnerable versions may face compliance breaches, legal penalties, and reputational damage due to data exposure.

Mitigation Strategies

Upgrade to exceljs-hardened version 5.0.0 or later. If using exceljs directly, avoid passing user input to Workbook.addImage() without validation. Implement path sanitization using safeJoin() or similar methods to prevent traversal sequences.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78208. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart