CVE-2021-27185
CRITICAL 9.8CVSS 3.1Command 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.
- Published
- 10 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-77CWE-78
- Also known as
- GHSA-r3j7-x2g5-9gx6
- Sources
- NVDJSONOSV GHSA-r3j7-x2g5-9gx6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | samba-client_project | samba-clientcpe:2.3:a:samba-client_project:samba-client:*:*:*:*:*:node.js:*:* |
< 4.0.0 | 4.0.0 |
| OSV | npm | samba-client | < 4.0.0 | 4.0.0 |
References
- https://advisory.checkmarx.net/advisory/CX-2021-4302 · Exploit, Third Party Advisory, WEB
- https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235 · Patch, Third Party Advisory, WEB
- https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0 · Release Notes, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210319-0002/ · Third Party Advisory, WEB
- https://www.npmjs.com/package/samba-client · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27185 · ADVISORY
- https://github.com/eflexsystems/node-samba-client · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 10 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Feb 2021)