CVE-2023-26155
CRITICAL 9.8CVSS 3.1node-qpdf vulnerable to command injection
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.
- Published
- 14 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78CWE-94
- Also known as
- GHSA-fpr8-4wvx-j9q3
- Sources
- NVDJSONOSV GHSA-fpr8-4wvx-j9q3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nrhirani | node-qpdfcpe:2.3:a:nrhirani:node-qpdf:*:*:*:*:*:*:*:* |
all versions | |
| OSV | npm | node-qpdf | <= 1.0.3 |
References
- https://github.com/nrhirani/node-qpdf/issues/23 · Exploit, Issue Tracking, WEB
- https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26155 · ADVISORY
- https://github.com/nrhirani/node-qpdf · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 14 Oct 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Oct 2023)