Skip to main content

pyquokka CVE-2025-62515

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2025-10-17 security-advisories@github.com GHSA-f74j-gffq-vm9p
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed FlightServer endpoint
  2. Exploit
    Craft malicious pickle set_configs action
  3. Execution
    pickle.loads() deserializes payload
  4. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi pyquokka no fix

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

Vendor (github) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.8%
Top 44% exploitable
Prevalence
Low
niche Python data-lake/time-series framework, small pip install base
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy