Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. An attacker that connects to a running smbserver instance can list and write to arbitrary files via ../ directory traversal. This could potentially be abused to achieve arbitrary code execution by replacing /etc/shadow or an SSH authorized key.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-impacket | Aug 22, 2024 | May 5, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | May 5, 2021 |
| Debian | — | Upgrade impacket | Jul 30, 2024 | May 5, 2021 |
| Freebsd | — | Upgrade py39-impacketUpgrade py37-impacketUpgrade py38-impacketUpgrade py310-impacketUpgrade py311-impacket | Apr 14, 2023 | Apr 9, 2023 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub