CVE-2023-26155Nrhirani Node-qpdf
Critical 9.8 No auth needed
Follow: this CVE · Nrhirani · Nrhirani Node-qpdf We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Oct 14, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Node-qpdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | node-qpdf |
≤ 1.0.3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-fpr8-4wvx-j9q3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nrhirani | node-qpdf | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- security.snyk.io Exploit Third Party Advisory