Live threats

All CVEs / Dbashford

CVE-2026-26831Dbashford Textract

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Mar 25, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78, CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Textract.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm textract ≤ 2.5.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-9pcj-m5rr-p28g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dbashfordtextract≤ 2.5.0

Official sources

References

Links published by the sources. Open them with care.