# CVE-2019-10783: OS Command Injection in lsof

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.64%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-29T21:07:28.000Z
- Modified: 2026-06-17T02:11:39.890Z
- Also known as: GHSA-whq6-mj2r-mjqc
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

All versions including 0.0.4 of lsof npm module are vulnerable to Command Injection. Every exported method used by the package uses the exec function to parse user input.

(As written by CVE List.)

## Affected

- lsof: All versions
- lsof (npm): up to 0.0.4
- isof_project isof: up to 0.0.4

## Every score

- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-LSOF-543632> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10783> (advisory)

## Sources

- CVE List: [CVE-2019-10783](https://www.cve.org/CVERecord?id=CVE-2019-10783), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-whq6-mj2r-mjqc](https://github.com/advisories/GHSA-whq6-mj2r-mjqc), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2019-10783](https://nvd.nist.gov/vuln/detail/CVE-2019-10783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10783 · Whole record: https://cve.day/CVE-2019-10783.json · Rebuilt by cve.day 2026-11-25T22:57:49.380Z
