Vulnerability in python-socketio
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as DEBIAN-CVE-2025-61765 has been found in python-socketio.
Attackers can target a specific entry point like pickle over the network to misuse the product.
Confidential information can be exposed externally.
What to do: upgrade python-socketio to 5.16.0-1 or later.
If unsure, ask your IT team or search "python-socketio DEBIAN-CVE-2025-61765" on the vendor's site.
DEBIAN-CVE-2025-61765 (python-socketio)
Attack vector: adjacent-network / no user interaction
Attack surface: pickle / __reduce__
Patched: 5.16.0-1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in python-socketio. Attackers reach the vulnerable code path via pickle.
Check the vendor advisory for the affected versions of python-socketio. Attack surface: pickle / __reduce__.
Severity: ?. Confidential information can be exposed externally.
Update to 5.16.0-1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'python-socketio' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'python-socketio' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
python-socketioを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade python-socketio to 5.16.0-1ステージング環境で 5.16.0-1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:11python-socketio |
All versions→ Not listed |
Not listed |
| Debian:12python-socketio |
All versions→ Not listed |
Not listed |
| Debian:13python-socketio |
All versions→ Not listed |
Not listed |
| Debian:14python-socketio |
< 5.16.0-1→ 5.16.0-1 |
5.16.0-1 |
Original description The description as published by the source.
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…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org