The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Priority MEDIUM 50CWE-77Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Why it matters now
EPSS 0.0489 92nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed samba-client (npm): 4.0.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | samba-client (npm) | before 4.0.0 | 4.0.0 | Patch available | GHSA-r3j7-x2g5-9gx6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- samba-client (npm) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-r3j7-x2g5-9gx6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba-client_project:samba-client:*:*:*:*:*:node.js:*:* | before 4.0.0 | Vulnerable | Samba-client Project |
- cpe:2.3:a:samba-client_project:samba-client:*:*:*:*:*:node.js:*:* Versions before 4.0.0 Vulnerable ·Samba-client Project
Remediation
- Fix · GHSA-r3j7-x2g5-9gx6 samba-client (npm) Fixed in 4.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-27185
- 2026-10-03 Alias added: GHSA-r3j7-x2g5-9gx6
References
Patch 1
Advisory 4
Sources
- CVE-2021-27185 · CVE Program
- CVE-2021-27185 · NVD
- FIRST EPSS
- GHSA-r3j7-x2g5-9gx6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences