Live threats

All CVEs / Samba-client Project

CVE-2021-27185Samba-client Project Samba-client

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.9%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba-client.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm samba-client < 4.0.0 4.0.0 npm install samba-client@4.0.0

Per OSV / GitHub Advisories (GHSA-r3j7-x2g5-9gx6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
samba-client_projectsamba-client< 4.0.0

Official sources

References

Links published by the sources. Open them with care.