pyquokka CVE-2025-62515
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed FlightServer endpoint
-
ExploitCraft malicious pickle set_configs action
-
Executionpickle.loads() deserializes payload
-
ImpactExecute arbitrary commands as server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a running pyquokka FlightServer (<= 0.3.1) that is bound to a network-reachable interface, which the advisory's own example does via FlightServer("0.0.0.0", location="grpc+tcp://0.0.0.0:5005"); the attacker must have network reachability to that Flight (gRPC) endpoint. Once reachable, no authentication, no user interaction, and no non-default toggle are needed - any 'set_configs' (or do_put/do_get/cache_garbage_collect) action body is passed straight to pickle.loads(). The principal limiting factor is therefore deployment-driven: a FlightServer that is not started, or is bound only to localhost, removes the remote attack surface; there is no application-level auth to further gate the endpoint. |
| Impact | All signals point to maximum technical severity with an important deployment caveat. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes unauthenticated, low-complexity, network-reachable remote code execution, and the CWE-502 (deserialization of untrusted data) classification plus a working proof-of-concept in the GitHub advisory confirm the flaw is directly exploitable - an attacker-controlled pickle payload reaches pickle.loads() in do_action() with no validation. Exploitation status is 'publicly available exploit code exists' (GHSA PoC), but this is NOT confirmed active exploitation: there is no CISA KEV listing and no EPSS score was provided, so real-world exploitation prevalence is unquantified. The key qualifier the raw 9.8 does not capture is deployment context: the attack surface only exists once a victim actually runs FlightServer bound to a network interface (the advisory's example uses 0.0.0.0); a localhost-only or non-deployed FlightServer is not remotely exploitable. Net: a genuine critical-severity bug with a public exploit, but real-world urgency is tempered by the niche product footprint and the requirement that an exposed FlightServer be running - treat as high priority for any environment actually running pyquokka's Flight service, lower priority elsewhere. Note also there is no fixed version ('fixed in: None'), so no clean patch remediation exists at time of analysis. |
| Exploit ScenarioDerived | A victim runs a pyquokka FlightServer bound to 0.0.0.0 to expose the Flight RPC endpoint on their network. An attacker who can reach that endpoint connects as a Flight client and sends a 'set_configs' action whose body is a malicious pickle (e.g. an object whose __reduce__ returns os.system('...')); when the server calls pickle.loads() on the action body it executes the attacker's command. A public proof-of-concept demonstrating arbitrary command execution ('ls -l') is included in the GitHub advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Remote code execution in pyquokka 0.3.1 and prior allows unauthenticated remote attackers to execute arbitrary commands on a host running a network-exposed FlightServer. The FlightServer.do_action() method at pyquokka/flight.py line 283 passes client-supplied action bodies directly to pickle.loads(), so a crafted set_configs action can trigger command execution; similar unsafe pickle.loads() use exists in cache_garbage_collect, do_put, and do_get. Publicly available exploit code exists, and the CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8); the primary prerequisite is a reachable FlightServer bound to a non-local interface such as 0.0.0.0, and no application-level authentication gates the endpoint.
RemediationAI
No vendor-released patch identified at time of analysis (reported fixed in: None). Until an update is available, do not expose pyquokka FlightServer to untrusted networks: bind it to 127.0.0.1, localhost, or a Unix domain socket instead of 0.0.0.0, and restrict the gRPC/Flight port (example 5005) with host firewall rules or network ACLs so only trusted clients can connect. The trade-off is that legitimate remote Flight clients will lose access unless they are on the same trusted host or network; localhost-only binding prevents remote exploitation but also blocks distributed workloads. If network exposure is required, place the endpoint behind a gRPC-aware authenticated proxy or VPN, since the application itself provides no authentication on the vulnerable actions; this adds infrastructure and may not cover raw gRPC semantics. For code-level mitigation, replace pickle.loads() on untrusted action bodies with a safe serialization format or strict allow-listing, and fix all affected functions (do_action, cache_garbage_collect, do_put, do_get), but this requires maintaining a fork or upstream fix. Monitor the GitHub advisory GHSA-f74j-gffq-vm9p for patched versions.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pyquokka is a time-series/data-lake framework that uses Apache Arrow Flight over gRPC for client-server actions. In the affected FlightServer class, action bodies from Flight clients are treated as trusted data and passed to Python pickle.loads() without sanitization or validation; this is CWE-502 deserialization of untrusted data. Python pickle can invoke arbitrary __reduce__ callables during deserialization, so attacker-controlled bytes can execute OS commands. The advisory identifies the primary sink at pyquokka/flight.py line 283 in do_action(), and also flags the cache_garbage_collect, do_put, and do_get functions as additional pickle.loads() vulnerability points. The affected package is reported as pip/pyquokka <= 0.3.1; no CPE strings were provided, but the vendor advisory and package metadata identify pyquokka as the product and pyquokka/flight.py as the vulnerable code.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable Flight endpoint deserializes untrusted pickle with no auth or user interaction (AV:N/AC:L/PR:N/UI:N), yielding full code execution and thus total C/I/A impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
pyquokka is a framework for making data lakes work for time series. In versions 0.3.1 and prior, the FlightServer class directly uses pickle.loads() to deserialize action bodies received from Flight clients without any sanitization or validation in the do_action() method. The vulnerable code is located in pyquokka/flight.py at line 283 where arbitrary data from Flight clients is directly passed to pickle.loads(). When FlightServer is configured to listen on 0.0.0.0, this allows attackers across the entire network to perform arbitrary remote code execution by sending malicious pickled payloads through the set_configs action. Additional vulnerability points exist in the cache_garbage_collect, do_put, and do_get functions where pickle.loads is used to deserialize untrusted remote data.
Executive ViewAI
Pyquokka, a distributed data processing framework, is affected by a critical remote code execution vulnerability (CVE-2025-62515) that allows unauthenticated attackers to execute arbitrary commands on any network-exposed FlightServer. This could lead to full system compromise, data theft, and operational disruption for organizations using pyquokka 0.3.1 or earlier in production. With publicly available exploit code and no vendor-released patch identified at time of analysis, immediate action is required to mitigate the risk.
Restrict network access to FlightServer instances to trusted IPs only; bind FlightServer to localhost (127.0.0.1) instead of 0.0.0.0; deploy an authenticating reverse proxy; disable FlightServer if not required; monitor for exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-f74j-gffq-vm9p
NVD
CVE.org
EPSS
Exploit-DB