PoC Monitor
← All CVEs
CVE-2026-26831published 25 Mar 2026 00:00 UTCData: JSON · API

CVE-2026-26831

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

textract (npm)
  • <= 2.5.0

from GitHub Security Advisory GHSA-9pcj-m5rr-p28g

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published25 Mar 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
zebbernCVE/CVE-2026-26831 24 Mar 2026 −8 h 0 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.