Every CVESearch/Get API key

CVE-2021-27185

Command injection in samba-client

9.8 CriticalFix available

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

4.89%Up 3.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used9.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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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-9gx69.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 CriticalCVSS: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
OSV9.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 CriticalCVSS: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-9gx69.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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
samba-client
npm
before 4.0.0
4.0.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open