CVE-2025-62703: Fugue is Vulnerable to Remote Code Execution by Pickle Deserialization via FlaskRPCServer
(updated )
The Fugue framework implements an RPC server system for distributed computing operations. In the core functionality of the RPC server implementation, I found that the _decode() function in fugue/rpc/flask.py directly uses cloudpickle.loads() to deserialize data without any sanitization. This creates a remote code execution vulnerability when malicious pickle data is processed by the RPC server.The vulnerability exists in the RPC communication mechanism where the client can send arbitrary serialized Python objects that will be deserialized on the server side, allowing attackers to execute arbitrary code on the victim’s machine.
References
- drive.google.com/file/d/1y8bBBp7dnWoT_WHBtdB0Fts4NRUIfdWi/view?usp=sharing
- github.com/advisories/GHSA-xv5p-fjw5-vrj6
- github.com/fugue-project/fugue
- github.com/fugue-project/fugue/commit/6f25326779fd1f528198098d6287c5a863176fc0
- github.com/fugue-project/fugue/security/advisories/GHSA-xv5p-fjw5-vrj6
- nvd.nist.gov/vuln/detail/CVE-2025-62703
Code Behaviors & Features
Detect and mitigate CVE-2025-62703 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 →