OS Command Injection in node-opencv

opencv Updated 02 Oct 2025

Summary

12/10/2021
Yes i
Critical
9.8

CVE-2019-10061: OS Command Injection in node-opencv. Affects opencv versions < 6.1.0. Fixed in 6.1.0. How to fix ↓

Also tracked for

The same CVE-2019-10061 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

utils/find-opencv.js in node-opencv (aka OpenCV bindings for Node.js) prior to 6.1.0 is vulnerable to Command Injection. It does not validate user input allowing attackers to execute arbitrary commands.

How To Fix

Latest published version: 7.0.0 as of 22 Oct 2026

npm install opencv@7.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.1.0

This is the first release that contains the fix.

npm install opencv@6.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Share this vulnerability

Related vulnerabilities

Recent vulnerabilities recorded for opencv.

How To Fix

Latest published version: 7.0.0 as of 22 Oct 2026

npm install opencv@7.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.1.0

This is the first release that contains the fix.

npm install opencv@6.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback