CVE-2021-27185
Command injection in samba-client
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used 9.8
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
CVE-2021-27185- 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-77
- Updated
- 2026-11-02
CVE ListNo score
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
CVE-2021-27185- Updated
- 2026-11-02
EUVDEUVD-2021-0570No score
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
EUVD-2021-0570- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r3j7-x2g5-9gx6 9.8
Command injection in samba-client
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
GHSA-r3j7-x2g5-9gx6- 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 - Weakness
- CWE-74, CWE-77, CWE-78
- Updated
- 2026-11-02
OSV 9.8
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
CVE-2021-27185- 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 - Updated
- 2026-11-02
OSVGHSA-r3j7-x2g5-9gx6 9.8
Command injection in samba-client
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
- Record
GHSA-r3j7-x2g5-9gx6- 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 - Weakness
- CWE-74, CWE-77, CWE-78
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
samba-clientnpm | before 4.0.0 | 4.0.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-27185 is a critical vulnerability (CVSS 9.8) in Samba-client Project Samba-client, published February 10, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.89%, the 92nd percentile. Fixed in samba-client 4.0.0.
References
github.com/eflexsystems/node-samba-client/releases/tag/4.0.0
github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235
npmjs.com/package/samba-client
security.netapp.com/advisory/ntap-20210319-0002
advisory.checkmarx.net/advisory/CX-2021-4302
nvd.nist.gov/vuln/detail/CVE-2021-27185
github.com/advisories/GHSA-r3j7-x2g5-9gx6
github.com/eflexsystems/node-samba-client