{"id":"GHSA-q5mh-72xg-628w","summary":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","details":"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().","aliases":["CVE-2026-26830"],"modified":"2026-03-27T18:56:22.340018Z","published":"2026-03-25T15:31:29Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-03-27T18:38:03Z","nvd_published_at":"2026-03-25T15:16:38Z","cwe_ids":["CWE-78","CWE-94"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26830"},{"type":"PACKAGE","url":"https://github.com/mooz/node-pdf-image"},{"type":"WEB","url":"https://github.com/zebbernCVE/CVE-2026-26830"}],"affected":[{"package":{"name":"pdf-image","ecosystem":"npm","purl":"pkg:npm/pdf-image"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-q5mh-72xg-628w/GHSA-q5mh-72xg-628w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}