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

- Severity: High 7.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.19%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-10-14T05:00:00.965Z
- Modified: 2026-06-17T05:42:48.123Z
- Also known as: GHSA-fpr8-4wvx-j9q3
- Weaknesses: CWE-77, CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

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

(As written by CVE List.)

## Affected

- node-qpdf: before *
- node-qpdf (npm): up to 1.0.3
- nrhirani node-qpdf: no versions given

## Every score

- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-NODEQPDF-5747918> (exploit, third-party-advisory, web)
- <https://github.com/nrhirani/node-qpdf/issues/23> (exploit, issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26155> (advisory)
- <https://github.com/nrhirani/node-qpdf> (package)

## Sources

- CVE List: [CVE-2023-26155](https://www.cve.org/CVERecord?id=CVE-2023-26155), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-fpr8-4wvx-j9q3](https://github.com/advisories/GHSA-fpr8-4wvx-j9q3), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-26155](https://nvd.nist.gov/vuln/detail/CVE-2023-26155), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26155 · Whole record: https://cve.day/CVE-2023-26155.json · Rebuilt by cve.day 2026-11-25T22:58:28.772Z
