CVEvulnerability

CVE-2026-26830

9.8 CRITICAL Published 2026-03-25 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-03-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94

Description

pdf-image (npm package) through version 2.0.0 allows OS command injection via the pdfFilePath parameter. The constructGetInfoCommand and constructConvertCommandForPage functions use util.format() to interpolate user-controlled file paths into shell command strings that are executed via child_process.exec()

Affected configurations

• pdf-image project pdf-image (<= 2.0.0)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References