Security mailing lists by PureSourceCode

CVE-2026-26830

CRITICAL 9.8CVSS 3.1

pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter

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

Published
25 Mar 2026
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-78CWE-94
Also known as
GHSA-q5mh-72xg-628w
Sources
NVDJSONOSV GHSA-q5mh-72xg-628wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pdf-image_project pdf-image
cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:*
<= 2.0.0
OSV npm pdf-image <= 2.0.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.