Path traversal in scapy - #VU159458
Published: November 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to overwrite arbitrary local files and cause a denial of service.
The vulnerability exists due to path traversal in the scapy smbclient recursive download feature when processing directory entries supplied by an SMB server. A remote attacker can supply a malicious directory entry to a user performing a recursive download with get -r to write files outside the intended download directory, overwrite arbitrary local files, and potentially disrupt system operation.
Exploitation requires the remote server to be spoofed or compromised, or authentication to be disabled.