Skip to content
Fencer Vulns
critical 9.8

CVE-2021-27185 json

Command injection in samba-client

published 2021-02-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-r3j7-x2g5-9gx6 , EUVD-2021-0570

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.9%
EPSS 4.9% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.

Patch / fix

  • npm samba-client 4.0.0
  • samba-client_project samba-client 4.0.0

Exploit prediction

4.89% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2021-4302 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm samba-client
<4.0.0
4.0.0

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.