ZeroHour

CVE-2026-85672

niche

OS command injection via crafted document URLs in zerox 1.1.20

CVSS 4.0
9.3 critical
EPSS
1%p72
Published
()
Modified
AI analysis

zerox 1.1.20, an open-source Node.js document-conversion library that uses poppler utilities for PDF processing, contains an OS command injection flaw (CWE-78) in its file download mechanism. When zerox downloads a document, it derives a temporary file extension from the supplied URL and interpolates it into shell commands without sanitization, so command substitution syntax planted in the URL's file extension executes on the host before document processing begins. An attacker who controls a document URL passed to the application gains arbitrary OS command execution with the privileges of the zerox process, with no authentication or user interaction required. Any application or deployment running zerox 1.1.20 that processes untrusted or user-supplied document URLs is affected. There is no public PoC, the flaw is not in CISA KEV, and the ~1.5% EPSS probability indicates no confirmed exploitation activity yet.

What to do: Upgrade zerox to a release newer than 1.1.20 as soon as a patched version is published (the advisory does not state a fixed version) and rebuild dependent Docker images or application bundles. Until patching, restrict document URLs to a strict allow-list of known document extensions and strip shell metacharacters from URLs, and verify whether your applications pass user-supplied URLs to zerox. Run zerox with least-privileged, network-restricted execution to limit the impact of command injection.

Affected
zerox (open-source project) zerox1.1.20 (version cited in the advisory; no fixed version or broader affected range provided)
Estimated exposure
niche≈1,000–10,000 dependent Node.js deployments/hosts (niche open-source developer library) — zerox is a low-adoption npm library embedded in application code rather than a mass-market product or directly internet-exposed appliance, so the exposed population is bounded by its modest npm adoption and limited to deployments that feed…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

zerox 1.1.20 contains an OS command injection vulnerability in the file download mechanism where the temporary file extension derived from document URLs is interpolated unsanitized into shell commands executed by poppler utilities. Attackers can craft document URLs with malicious file extensions containing command substitution syntax to execute arbitrary OS commands before document processing occurs.

Weakness
CWE-78
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.