Skip to content
High 8.7

ExcelJSに任意のファイルを読み取られる脆弱性、画像ファイル名の指定で発生

CVE-2026-128347 First seen on SecPulse

Summary

ExcelJSの4.4.0までのバージョンには、ストリーミング方式のWorkbookWriterでaddImageに細工した画像ファイル名を渡すと、Node.jsプロセスが読める任意のローカルファイルを読み取られる脆弱性があります。読み取られたファイルは生成されたExcelファイル内に埋め込まれるおそれがあります。本記事の公開時点で修正版は確認できていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

ExcelJSの4.4.0までのバージョンには、ストリーミング方式のWorkbookWriterでaddImageに細工した画像ファイル名を渡すと、Node.jsプロセスが読める任意のローカルファイルを読み取られる脆弱性があります。読み取られたファイルは生成されたExcelファイル内に埋め込まれるおそれがあります。本記事の公開時点で修正版は確認できていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
exceljsexceljs
≤ 4.4.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details