CVE-2025-61765

python-socketio: python-socketio is a Python implementation of the Socket.IO realtime client and server

CVE-2025-61765 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-61765, released October 6, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.4
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0048
41st percentile

python-socketio is a Python implementation of the Socket.IO realtime client and server. A remote code execution vulnerability in python-socketio versions prior to 5.14.0 allows attackers to execute arbitrary Python code through malicious pickle deserialization in multi-server deployments on which the attacker previously gained access to the message queue that the servers use for internal communications. When Socket.IO servers are configured to use a message queue backend such as Redis for inter-server communication, messages sent between the servers are encoded using the `pickle` Python module. When a server receives one of these messages through the message queue, it assumes it is trusted and immediately deserializes it. The vulnerability stems from deserialization of messages using Python's `pickle.loads()` function. Having previously obtained access to the message queue, the attacker can send a python-socketio server a crafted pickle payload that executes arbitrary code during deserialization via Python's `__reduce__` method. This vulnerability only affects deployments with a compromised message queue. The attack can lead to the attacker executing random code in the context of, and with the privileges of a Socket.IO server process. Single-server systems that do not use a message queue, and multi-server systems with a secure message queue are not vulnerable. In addition to making sure standard security practices are followed in the deployment of the message queue, users of the python-socketio package can upgrade to version 5.14.0 or newer, which remove the `pickle` module and use the much safer JSON encoding for inter-server messaging.

Where it's fixed

ProductFixed inFixReleased
Linux
python-python-socketio · opensuse-leap 15.6 5.7.2-150600.3.3.1 SUSE-SU-2025:3780-1 Oct 24, 2025
python-python-socketio · sles 15.6 5.7.2-150600.3.3.1 SUSE-SU-2025:3780-1 Oct 24, 2025
python-python-socketio · sles 15.7 5.7.2-150600.3.3.1 SUSE-SU-2025:3780-1 Oct 24, 2025
python-socketio · Debian 14 5.16.0-1 DEBIAN-CVE-2025-61765 Oct 6, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.