Skip to content

CVE-2023-26155 node-qpdf vulnerable to command injection

CriticalCVSS 9.8 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
nrhirani node-qpdf All versions No fix listed No fix yet
npm node-qpdf(npm) <= 1.0.3 after 1.0.3 Fixed

Affected products

ProductAffected versionsFixed in
npm node-qpdf(npm) <= 1.0.3 No fix listed
nrhirani node-qpdf All versions No fix listed

References