{"id":"CVE-2021-27185","aliases":["CVE-2021-27185","GHSA-r3j7-x2g5-9gx6"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in samba-client","summary":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","source":"cvelist"},{"lang":"es","text":"El paquete samba-client versiones anteriores a 4.0.0 para Node.js, permite una inyección de comandos debido al uso del archivo process.exec","source":"nvd"}],"published":"2021-02-10T21:04:28.000Z","modified":"2026-06-17T03:44:25.553Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74","CWE-77","CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.0.0"}],"ecosystem":"npm","package":"samba-client","purl":"pkg:npm/samba-client","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.0.0"}],"vendor":"samba-client_project","product":"samba-client","cpe":"cpe:2.3:a:samba-client_project:samba-client:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/samba-client","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0002/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4302","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27185","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/eflexsystems/node-samba-client","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0002","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27185","url":"https://www.cve.org/CVERecord?id=CVE-2021-27185","licence":"CVE Terms of Use","modified":"2024-08-03T20:40:47.497Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3j7-x2g5-9gx6","url":"https://github.com/advisories/GHSA-r3j7-x2g5-9gx6","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:23.693Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27185","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27185","licence":"Public domain","modified":"2026-06-17T03:44:25.553Z"}],"updatedAt":"2026-11-25T22:57:59.901Z","epss":{"score":0.0489,"percentile":0.92271,"date":"2026-12-01T12:00:22.000Z"}}