CVE-2025-62515: pyquokka is Vulnerable to Remote Code Execution by Pickle Deserialization via FlightServer
Affects pyquokkaSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 16 Nov 2026, 16:35 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpyquokka | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should replace unsafe deserialization by avoiding pickle.loads() on untrusted data. Safer alternatives include JSON serialization, Protocol Buffers, or MessagePack. If pickle must be used, implement a custom Unpickler with a restricted find_class() method to whitelist allowed classes. Additionally, bind the FlightServer to localhost (127.0.0.1) instead of 0.0.0.0 to limit network exposure. Implement authentication and authorization mechanisms to restrict access. Display clear security warnings when starting the service on public interfaces to inform users of risks.
Description
The pyquokka framework's FlightServer class contains a critical remote code execution vulnerability due to unsafe deserialization using pickle.loads() on untrusted data received from Flight clients. This flaw allows attackers to execute arbitrary code remotely by sending malicious pickle payloads, especially when the server listens on all network interfaces (0.0.0.0). Additional vulnerable functions include cache_garbage_collect, do_put, and do_get. The vulnerability can lead to full system compromise, data exfiltration, lateral movement, denial of service, and persistent backdoors. The affected versions are pyquokka versions up to and including 0.3.1. No official patch is currently listed. Mitigations include replacing unsafe deserialization, restricting network exposure, and implementing authentication.
References
- github.com/marsupialtail/quokka/security/advisories/GHSA-f74j-gffq-vm9p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-62515 (opens in a new tab)
- github.com/marsupialtail/quokka (opens in a new tab)
- github.com/marsupialtail/quokka/blob/master/pyquokka/flight.py (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pyquokka/PYSEC-2026-503.yaml (opens in a new tab)
- pypi.org/project/pyquokka (opens in a new tab)