Scapy before 2.7.0 Insecure Deserialization RCE via Session Files
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 12, 2026
Description
Scapy before 2.7.0 contains an insecure deserialization vulnerability in the load_session function that allows attackers to execute code by supplying a malicious pickle session file. Attackers can trick users into loading a crafted .pkl.gz file via the -s option or conf.session, executing embedded Python code through __reduce__().
| Product | Versions |
|---|---|
| scapy secdev | before 2.7.0 Affected2.7.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.4 Medium | VulnCheck | |
| 3.1 | 6.7 Medium | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
References
- GitHub Security Advisory (GHSA-cq46-m9x9-j8w2)Vendor Advisory
- VulnCheck Advisory: Scapy before 2.7.0 Insecure Deserialization RCE via Session FilesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.