# CVE-2020-4066: Command Injection in Limdu trainBatch function

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- 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.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2020-06-22T15:24:06.000Z
- Modified: 2026-06-17T03:19:30.677Z
- Also known as: GHSA-77qv-gh6f-pgh4
- Weaknesses: CWE-78
- Assigned by: GitHub_M

## Description

In Limdu before 0.95, the trainBatch function has a command injection vulnerability. Clients of the Limdu library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. This has been patched in 0.95.

(As written by CVE List.)

## Affected

- erelsgl Limdu: < 0.95
- limdu (npm): before 0.9.5
- limdu_project limdu: before 0.9.5

## Every score

- GitHub_M: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/erelsgl/limdu/security/advisories/GHSA-77qv-gh6f-pgh4> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-4066> (advisory)
- <https://github.com/erelsgl/limdu/commit/03475a6a6bb253de6fad8f7f39cfb3504f11438d> (web)
- <https://github.com/erelsgl/limdu> (package)

## Sources

- CVE List: [CVE-2020-4066](https://www.cve.org/CVERecord?id=CVE-2020-4066), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-77qv-gh6f-pgh4](https://github.com/advisories/GHSA-77qv-gh6f-pgh4), CC-BY-4.0, modified 2026-05-04
- NVD: [CVE-2020-4066](https://nvd.nist.gov/vuln/detail/CVE-2020-4066), Public domain, modified 2026-06-17

---

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