{"id":"CVE-2026-26830","aliases":["EUVD-2026-15457","GHSA-q5mh-72xg-628w"],"status":"published","title":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","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()","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0256,"percentile":0.85298,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78","CWE-94"],"published":"2026-03-25T00:00:00Z","modified":"2026-06-17T10:26:21Z","exploits":[{"source":"pocgithub","id":"zebbernCVE/CVE-2026-26830","title":"zebbernCVE/CVE-2026-26830","date":"2026-03-24","url":"https://github.com/zebbernCVE/CVE-2026-26830"},{"source":"pocgithub","id":"zebbernCVE/npm-cve-2026-26830-26833","title":"zebbernCVE/npm-cve-2026-26830-26833","date":"2026-03-24","url":"https://github.com/zebbernCVE/npm-cve-2026-26830-26833"}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"pdf-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"pdf-image","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}]}],"products":[{"vendor":"pdf-image_project","product":"pdf-image"}],"references":[{"url":"https://www.npmjs.com/package/pdf-image","tags":["Product"]},{"url":"https://github.com/mooz/node-pdf-image","tags":["Product","package"]},{"url":"https://github.com/zebbernCVE/CVE-2026-26830","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26830","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q5mh-72xg-628w"}],"sources":{"cve":[{"id":"CVE-2026-26830","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()","status":"published","published":"2026-03-25T00:00:00Z","modified":"2026-03-27T03:58:17.377Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","level":"critical","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T13:38:20.971157Z"}],"euvd":[{"id":"EUVD-2026-15457","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()","status":"published","published":"2026-03-25T00:00:00Z","modified":"2026-03-27T03:58:17Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","level":"critical"}],"updated_at":"2026-11-02T19:25:27.67679Z"}],"ghsa":[{"id":"GHSA-q5mh-72xg-628w","title":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","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().","status":"published","published":"2026-03-25T15:31:29Z","modified":"2026-03-27T18:38:05Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T14:39:43.747579Z"}],"nvd":[{"id":"CVE-2026-26830","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()","status":"published","published":"2026-03-25T15:16:38.62Z","modified":"2026-06-17T10:26:21.39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:12:11.077116Z"}],"osv":[{"id":"GHSA-q5mh-72xg-628w","title":"pdf-image has an OS Command Injection Vulnerability through its pdfFilePath parameter","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().","status":"published","published":"2026-03-25T15:31:29Z","modified":"2026-03-27T18:56:22.340018Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78","CWE-94"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
