Samba since version 3.5.0 is vulnerable to remote code execution vulnerability, allowing a malicious client to upload a shared library to a writable share, and then cause the server to load and execute it. https://nvd.nist.gov/vuln/detail/CVE-2017-7494