Home / miguelgrinberg / python-socketio / CVE-2025-61765
CVE-2025-61765: is it exploited, and which versions of miguelgrinberg python-socketio are affected and fixed?
CVE-2025-61765 is a deserialization of untrusted data vulnerability in miguelgrinberg python-socketio. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: python-socketio from 0.8.0 before 5.14.0 (GitHub advisory GHSA-g8c6-8fjj-2r4m). Fixed in 5.14.0 (GitHub advisory GHSA-g8c6-8fjj-2r4m). Severity: Medium (6.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-61765?
python-socketio vulnerable to arbitrary Python code execution (RCE) through malicious pickle deserialization in certain multi-server deployments
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.
From the CVE record by GitHub_M, last updated October 22, 2025, 17:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| miguelgrinberg | python-socketio | >= 0.8.0, < 5.14.0 |
As the CVE record by GitHub_M states it, last updated October 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | python-socketio | >= 0.8.0, < 5.14.0 | 5.14.0 | GHSA-g8c6-8fjj-2r4m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: python-socketio vulnerable to arbitrary Python code execution (RCE) through malicious pickle deserialization in certain multi-server deployments.
How severe is CVE-2025-61765?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-61765 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 6, 2025)
- EPSS
- 0.50% probability of exploitation activity in the next 30 days, percentile 44.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://github.com/miguelgrinberg/python-socketio/security/advisories/GHSA-g8c6-8fjj-2r4m x_refsource_CONFIRM
- https://github.com/miguelgrinberg/python-socketio/commit/53f6be094257ed81476b0e212c8cddd6d06ca39a x_refsource_MISC
- https://www.bluerock.io/post/cve-2025-61765-bluerock-discovers-critical-rce-in-socket-io-ecosystem x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 30, 2025
- Published
- October 6, 2025, 16:04 UTC
- CVE record updated
- October 22, 2025, 17:13 UTC by GitHub_M
- NVD
- Deferred, last modified October 9, 2026, 10:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect python-socketio?
- Aug 11, 2026CVE-2026-48804 miguelgrinberg python-socketio: denial of service (resources allocated without limits)
Questions about CVE-2025-61765
Is CVE-2025-61765 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of miguelgrinberg python-socketio are affected by CVE-2025-61765?
python-socketio from 0.8.0 before 5.14.0, per the GitHub advisory GHSA-g8c6-8fjj-2r4m. The tables above give every range the sources list.
Which version fixes CVE-2025-61765?
5.14.0, per the GitHub advisory GHSA-g8c6-8fjj-2r4m. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-61765?
Medium (6.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-61765?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.