Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyquokka
  4. ›
  5. GHSA-f74j-gffq-vm9p

GHSA-f74j-gffq-vm9p: pyquokka is Vulnerable to Remote Code Execution by Pickle Deserialization via FlightServer

October 17, 2025

In the FlightServer class of the pyquokka framework, the do_action() method directly uses pickle.loads() to deserialize action bodies received from Flight clients without any sanitization or validation, which results in a remote code execution vulnerability. The vulnerable code is located in pyquokka/flight.py at line 283, where arbitrary data from Flight clients is directly passed to pickle.loads().

Even more concerning, when FlightServer is configured to listen on 0.0.0.0 (as shown in the provided server example at line 339), this allows attackers across the entire network to perform arbitrary remote code execution by sending malicious pickled payloads through the set_configs action.

In addition, the functions cache_garbage_collect, do_put, and do_get also contain vulnerability points where pickle.loads is used to deserialize untrusted remote data. Please review and fix these issues accordingly. This report uses the set_configs action as an example.

References

  • github.com/advisories/GHSA-f74j-gffq-vm9p
  • github.com/marsupialtail/quokka
  • github.com/marsupialtail/quokka/blob/master/pyquokka/flight.py
  • github.com/marsupialtail/quokka/security/advisories/GHSA-f74j-gffq-vm9p

Code Behaviors & Features

Detect and mitigate GHSA-f74j-gffq-vm9p with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.3.1

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/pyquokka/GHSA-f74j-gffq-vm9p.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 20 Oct 2025 00:20:07 +0000.