{"id":"CVE-2023-26155","aliases":["EUVD-2023-2729","GHSA-fpr8-4wvx-j9q3"],"status":"published","title":"node-qpdf vulnerable to command injection","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02191,"percentile":0.82592,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78","CWE-94"],"published":"2023-10-14T05:00:00Z","modified":"2026-06-17T05:42:48Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"node-qpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"node-qpdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}]}],"products":[{"vendor":"nrhirani","product":"node-qpdf"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/nrhirani/node-qpdf/issues/23","tags":["x_transferred","Exploit","Issue Tracking","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26155","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fpr8-4wvx-j9q3"},{"url":"https://github.com/nrhirani/node-qpdf","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26155","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","status":"published","published":"2023-10-14T05:00:00.965Z","modified":"2024-09-17T13:35:42.463Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-2729","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","status":"published","published":"2023-10-14T05:00:00Z","modified":"2024-09-17T13:35:42Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:22.305755Z"}],"ghsa":[{"id":"GHSA-fpr8-4wvx-j9q3","title":"node-qpdf vulnerable to command injection ","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","status":"published","published":"2023-10-14T06:30:54Z","modified":"2023-11-05T05:01:33Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77","CWE-94"],"updated_at":"2026-11-02T14:37:13.301199Z"}],"nvd":[{"id":"CVE-2023-26155","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","status":"published","published":"2023-10-14T05:15:55.183Z","modified":"2026-06-17T05:42:48.123Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"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":"primary"}],"cwes":["CWE-78","CWE-77"],"updated_at":"2026-11-02T14:08:37.83429Z"}],"osv":[{"id":"GHSA-fpr8-4wvx-j9q3","title":"node-qpdf vulnerable to command injection ","description":"All versions of the package node-qpdf are vulnerable to Command Injection such that the package-exported method encrypt() fails to sanitize its parameter input, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they can specify the input pdf file path.","status":"published","published":"2023-10-14T06:30:54Z","modified":"2023-11-08T04:12:00.419615Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77","CWE-94"],"updated_at":"2026-11-02T15:46:46.760785Z"}]}}
