p PatchFirst

CVE-2026-26831

CVE-2026-26831

This page contains facts from public vulnerability sources. Check the original advisory before updating.

textract through 2.5.0 is vulnerable to OS Command Injection via the file path parameter in multiple extractors. When processing files with malicious filenames, the filePath is passed directly to child_process.exec() in lib/extractors/doc.js, rtf.js, dxf.js, images.js, and lib/util.js with inadequate sanitization

CVSS 9.8 · Critical · EPSS 2.5%

Published
Updated

Stack: node

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • textract npm

    Affected ranges
    • SEMVER: ≤ 2.5.0

    No fix published

Original sources

Check your server →