Vulnerability · Published Oct 14, 2023 · Assigned by snyk

CVE-2023-26155

High 7.3

In plain English

A high-severity OS command injection in node-qpdf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities).

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)2.2%top 17.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnode-qpdfno fix listedGHSA-fpr8-4wvx-j9q3

Affected products (as reported)

VendorProductVersions
n/a node-qpdf 0 – before *

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

References