CVE-2026-107703
@enmaso/node-convert through 1.0.0 OS Command Injection via filepath and convertTo
- State
- Published
- Severity
- 9.3 Critical
- Published
- Oct 8, 2026
- Updated
- Oct 8, 2026
- Reserved
- Oct 8, 2026
Description
@enmaso/node-convert through 1.0.0 contains an OS command injection vulnerability in convert.js that allows attackers to execute shell commands via unsanitized filepath and convertTo arguments. Attackers can inject shell metacharacters or a single quote into the ImageMagick command run by child_process.exec() to execute operating system commands with Node.js process privileges.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
@enmaso/node-convertenmaso |
|
References
- https://gist.github.com/R3tro16/5a508fcfddfb0dfe66a0a53437ede74cthird-party-advisory
- https://github.com/enmaso/node-convert/blob/143e4d76244e2daac57eef59d8ed5983e33ee4fb/convert.js#L4-L15technical-description
- https://github.com/enmaso/node-convertproduct
- VulnCheck Advisory: @enmaso/node-convert through 1.0.0 OS Command Injection via filepath and convertTothird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.