CVE-2026-48802: Python engineio Denial of Service Vulnerability
HIGHCVE-2026-48802 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Python engineio libraries in the PyPI ecosystem. The issue involves python-engineio has unbound thread allocation that can cause denial of service. Remediation is available by upgrading affected packages to version 4.13.2.
CVE-2026-48802 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-48802
To remediate this vulnerability, upgrade all affected Python engineio 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-engineio>=4.13.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show python-engineio
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-48802, inspect your installed packages using pip:
pip show python-engineio
Analyze the terminal output to locate any version of Python engineio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.13.2), your application is affected.
Note: The pip show python-engineio 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 engineio, 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-48802 Affected Python engineio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
python-engineio
|
PyPI |
< 4.13.2
|
4.13.2
|
References
Frequently Asked Questions
What is CVE-2026-48802?
Which Python engineio versions are affected?
What version fixes CVE-2026-48802?
Is python-engineio affected?
What is the CVSS score of CVE-2026-48802?
What CWE is associated with CVE-2026-48802?
How can I check PyPI dependencies for CVE-2026-48802?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cgwc-pv48-fhj5",
"modified" : "2026-06-26T20:51:37Z",
"published" : "2026-06-26T20:51:37Z",
"aliases" : [ "CVE-2026-48802" ],
"summary" : "python-engineio has unbound thread allocation that can cause denial of service",
"details" : "### Impact\nAn attacker can cause the creation of unnecessary background threads in the python-engineio server by exploiting the heartbeat mechanism, which launches a thread when a new connection is received, and when the client sends a PONG packet.\n\nNote: this issue primarily affects synchronous servers. Asynchronous servers allocate background tasks instead of physical threads, which are lightweight and less likely to cause denial of service. However, the fix that was implemented was also applied to the asynchronous case.\n\n### Patches\nVersion 4.13.2 addresses this issue as follows:\n\n- The initial background thread (or async task( for heartbeat management is only launched if a client passes authentication in the `connect` handler.\n- The server now ensures that there is only one background heatbeat thread (or async task) per client at a given point in time. Out of sequence PONG packets are now discarded when an active heartbeat thread is already running.",
"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-engineio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.13.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.13.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-cgwc-pv48-fhj5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/miguelgrinberg/python-engineio"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-26T20:51:37Z",
"nvd_published_at" : null
}
}