Live threats

All CVEs / Pdf-image Project

CVE-2026-26830Pdf-image Project Pdf-image

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-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

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()

Original NVD text.

What to do

  1. Apply the vendor's security update for Pdf-image.
  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 pdf-image ≤ 2.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-q5mh-72xg-628w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pdf-image_projectpdf-image≤ 2.0.0

Official sources

References

Links published by the sources. Open them with care.