Technical impact
Scapy prior to version 2.7.0 contains an insecure deserialization flaw within the load_session function. The vulnerability allows an attacker to provide a crafted pickle session file that, when loaded, executes arbitrary Python code via the __reduce__() method. Successful exploitation would grant the attacker full code execution privileges on the host system, enabling compromise of confidentiality, integrity, and availability.
Affected Systems
All installations of the Scapy tool released before the 2.7.0 update are affected, regardless of operating system. The issue resides within the Scapy library itself, so any user or service that imports Scapy and calls load_session using the -s command‑line option or sets conf.session to an untrusted file is vulnerable.
Risk and Exploitability
The cvss score of 5.4 indicates moderate severity, while an EPSS score of less than 1 percent suggests that the likelihood of a real‑world exploit is low at present. The vulnerability is not listed in CISA KEV. Exploitation requires the attacker to get a user to load a malicious session file, typically through social engineering or by providing a compromised file to an automated script. Once the file is processed by an affected version of Scapy, attacker‑controlled code is executed with the privileges of the running process.