CVE-2026-48804: python-socketio Denial of Service Vulnerability
HIGHCVE-2026-48804 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting python-socketio libraries in the PyPI ecosystem. The issue involves binary attachment accumulation can cause denial of service. Remediation is available by upgrading affected packages to version 5.16.2.
CVE-2026-48804 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-48804
To remediate this vulnerability, upgrade all affected python-socketio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install python-socketio>=5.16.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show python-socketio
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-48804, inspect your installed packages using pip:
pip show python-socketio
Analyze the terminal output to locate any version of python-socketio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.16.2), your application is affected.
Note: The pip show python-socketio command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In python-socketio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48804 Affected python-socketio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-socketio
|
PyPI |
< 5.16.2
|
5.16.2
|
References
Frequently Asked Questions
What is CVE-2026-48804?
Which python-socketio versions are affected?
What version fixes CVE-2026-48804?
Is python-socketio affected?
What is the CVSS score of CVE-2026-48804?
What CWE is associated with CVE-2026-48804?
How can I check PyPI dependencies for CVE-2026-48804?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5w7q-77mv-v69f",
"modified" : "2026-06-26T20:51:58Z",
"published" : "2026-06-26T20:51:58Z",
"aliases" : [ "CVE-2026-48804" ],
"summary" : "python-socketio: Binary attachment accumulation can cause denial of service",
"details" : "### Impact\nThe python-socketio server stores binary `EVENT` and `ACK` messages in memory while it waits to receive their binary attachments. Once all the attachments are received, these messages are then processed. An attacker can submit a binary message and intentionally omit sending one or more of its attachments to cause the message along with the partial list of received attachments to stay in memory for a long time.\n\n### Patches\nVersion 5.16.2 takes the following measures to address this issue:\n- Binary packets are only accepted from authenticated clients.\n- When a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "python-socketio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.16.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.16.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/miguelgrinberg/python-socketio/security/advisories/GHSA-5w7q-77mv-v69f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/miguelgrinberg/python-socketio"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-26T20:51:58Z",
"nvd_published_at" : null
}
}