All CVEs / Samba-client Project
CVE-2021-27185Samba-client Project Samba-client
Critical 9.8 No auth needed
Follow: this CVE · Samba-client Project · Samba-client Project Samba-client We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.9% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Feb 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
What to do
- Apply the vendor's security update for Samba-client.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | samba-client |
< 4.0.0 |
4.0.0 |
npm install samba-client@4.0.0 |
Per OSV / GitHub Advisories (GHSA-r3j7-x2g5-9gx6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba-client_project | samba-client | < 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- advisory.checkmarx.net Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- security.netapp.com Third Party Advisory
- www.npmjs.com Product Third Party Advisory