Command injection in nodepdf
Priority MEDIUM 46CWE-77Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-77.
Summary
Input passed to the Pdf() function is shell escaped and passed to child_process.exec() during PDF rendering. However, the shell escape does not properly encode all special characters, namely, semicolon and curly braces. This can be abused to achieve command execution. This problem affects nodepdf 1.3.0.
Why it matters now
EPSS 0.0184 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | nodepdf | nodepdf 1.3.0 | — | No fix listed | CNA |
- nodepdf Vendor— Affected nodepdf 1.3.0 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nodepdf_project:nodepdf:1.3.0:*:*:*:*:node.js:*:* | 1.3.0 | Vulnerable | Nodepdf Project |
- cpe:2.3:a:nodepdf_project:nodepdf:1.3.0:*:*:*:*:node.js:*:* Versions 1.3.0 Vulnerable ·Nodepdf Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2016-4991
- 2026-10-03 Alias added: GHSA-p7w2-cg47-7v79
References
Exploit 1
Sources
- CVE-2016-4991 · CVE Program
- CVE-2016-4991 · NVD
- FIRST EPSS
- GHSA-p7w2-cg47-7v79 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences