@enmaso/node-convert OS Command Injection via filepath and convertTo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
@enmaso/node-convert through 1.0.0 contains an OS command injection in convert.js (CWE-78) with a CVSS 4.0 base score of 9.3 (CRITICAL). The filepath and convertTo arguments reach the ImageMagick command run by child_process.exec() without sanitization, so an attacker can inject shell metacharacters or a single quote to run operating system commands with the privileges of the Node.js process. CISA's SSVC rates exploitation as poc, automatable as yes and technical impact as total, and the vulnerability is not in CISA KEV.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version is listed for @enmaso/node-convert through 1.0.0. Do not pass untrusted values to filepath or convertTo until a fixed release is available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-09 Threatist record created from CVE-2026-107703
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences