{"id":"CVE-2026-26830","aliases":["CVE-2026-26830","GHSA-q5mh-72xg-628w"],"related":[],"kind":"vulnerability","state":"published","title":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","summary":"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()","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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()","source":"cvelist"},{"lang":"en","text":"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().","format":"markdown","source":"ghsa"},{"lang":"es","text":"pdf-image (paquete npm) hasta la versión 2.0.0 permite la inyección de comandos del sistema operativo a través del parámetro pdfFilePath. Las funciones constructGetInfoCommand y constructConvertCommandForPage usan util.format() para interpolar rutas de archivo controladas por el usuario en cadenas de comandos de shell que se ejecutan a través de child_process.exec().","source":"nvd"}],"published":"2026-03-25T00:00:00.000Z","modified":"2026-06-17T10:26:21.390Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78","CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.0.0"}],"ecosystem":"npm","package":"pdf-image","purl":"pkg:npm/pdf-image","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.0.0"}],"vendor":"pdf-image_project","product":"pdf-image","cpe":"cpe:2.3:a:pdf-image_project:pdf-image:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://www.npmjs.com/package/pdf-image","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mooz/node-pdf-image","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/zebbernCVE/CVE-2026-26830","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26830","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-03-27T03:57:52.228Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26830","url":"https://www.cve.org/CVERecord?id=CVE-2026-26830","licence":"CVE Terms of Use","modified":"2026-03-27T03:58:17.377Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q5mh-72xg-628w","url":"https://github.com/advisories/GHSA-q5mh-72xg-628w","licence":"CC-BY-4.0","modified":"2026-03-27T18:56:22.340Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26830","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26830","licence":"Public domain","modified":"2026-06-17T10:26:21.390Z"}],"updatedAt":"2026-11-25T22:59:16.716Z","epss":{"score":0.02736,"percentile":0.86517,"date":"2026-12-01T12:00:22.000Z"}}