# CVE-2020-7678: Arbitrary Code Execution

- Severity: High 8.6 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C`
- 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): 1.16%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-25T14:07:56.881Z
- Modified: 2026-06-17T03:25:14.990Z
- Also known as: GHSA-pc62-cq5x-3j5g
- Assigned by: snyk

## Description

This affects all versions of package node-import. The "params" argument of module function can be controlled by users without any sanitization.b. This is then provided to the “eval” function located in line 79 in the index file "index.js".

(As written by CVE List.)

## Affected

- node-import: before unspecified
- node-import (npm): up to 0.9.2
- node-import_project node-import: no versions given

## Every score

- snyk: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C`
- GitHub: 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:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691> (exploit, third-party-advisory, web)
- <https://github.com/mahdaen/node-import/blob/master/index.js%23L79> (broken-link, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7678> (advisory)
- <https://github.com/mahdaen/node-import> (package)

## Sources

- CVE List: [CVE-2020-7678](https://www.cve.org/CVERecord?id=CVE-2020-7678), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-pc62-cq5x-3j5g](https://github.com/advisories/GHSA-pc62-cq5x-3j5g), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-7678](https://nvd.nist.gov/vuln/detail/CVE-2020-7678), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7678 · Whole record: https://cve.day/CVE-2020-7678.json · Rebuilt by cve.day 2026-11-25T22:57:58.691Z
