# GHSA-f698-m2v9-5fh3: Command Injection in opencv

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-04T20:11:44.000Z
- Modified: 2020-08-31T18:35:50.000Z
- Weaknesses: CWE-77

## Description

Versions of `opencv`prior to 6.1.0 are vulnerable to Command Injection. The utils/ script find-opencv.js does not validate user input allowing attackers to execute arbitrary commands.


## Recommendation

Upgrade to version 6.1.0.

(As written by GitHub Advisory Database.)

## Affected

- opencv (npm): before 6.1.0

## References

- <https://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b#diff-dab2f6d17b2fd005a9425e97172dc8cb> (web)
- <https://www.npmjs.com/advisories/789> (web)

## Sources

- GitHub Advisory Database: [GHSA-f698-m2v9-5fh3](https://github.com/advisories/GHSA-f698-m2v9-5fh3), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-f698-m2v9-5fh3 · Whole record: https://cve.day/GHSA-f698-m2v9-5fh3.json · Rebuilt by cve.day 2026-11-25T22:56:45.210Z
