OS command injection in clamscan
Priority LOW 39CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
clamscan through 1.2.0 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the `_is_clamav_binary` function located within `Index.js`. It should be noted that this vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to execute. This lowers the risk of this issue.
Why it matters now
EPSS 0.02122 81st percentileScored 2026-11-07
Fix Fixed clamscan (npm): 1.3.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | clamscan | All versions including 1.2.0 | — | No fix listed | CNA |
| — | clamscan (npm) | before 1.3.0 | 1.3.0 | Patch available | GHSA-5v25-xr56-phph |
- clamscan Vendor— Affected All versions including 1.2.0 Fixed in — No fix listed CNA
- clamscan (npm) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-5v25-xr56-phph
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:clamscan_project:clamscan:*:*:*:*:*:*:*:* | up to 1.2.0 | Vulnerable | Clamscan Project |
- cpe:2.3:a:clamscan_project:clamscan:*:*:*:*:*:*:*:* Versions up to 1.2.0 Vulnerable ·Clamscan Project
Remediation
- Fix · GHSA-5v25-xr56-phph clamscan (npm) Fixed in 1.3.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7613
- 2026-10-03 Alias added: GHSA-5v25-xr56-phph
References
Advisory 2
Sources
- CVE-2020-7613 · CVE Program
- CVE-2020-7613 · NVD
- FIRST EPSS
- GHSA-5v25-xr56-phph · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences