CVE-2026-48802: CWE-770: Allocation of Resources Without Limits or Throttling in miguelgrinberg python-engineio
python-engineio is a Python implementation of the Engine.IO realtime client and server. Prior to version 4.13.2, an 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. 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. Version 4.13.2 addresses this issue as follows: The initial background thread (or async task( for heartbeat management is only launched if a client passes authentication in the `connect` handler; and 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.
AI Analysis
Technical Summary
The python-engineio library before version 4.13.2 has a flaw in its heartbeat mechanism that allows an attacker to trigger unnecessary background thread creation on the server side. Specifically, when a new connection is received and when a client sends a PONG packet, the server may launch multiple heartbeat threads if not properly controlled. This can exhaust server resources and cause denial of service, especially on synchronous servers that use physical threads. The fix in version 4.13.2 ensures that heartbeat threads or async tasks are only created after client authentication and enforces a single heartbeat thread per client, discarding out-of-sequence PONG packets if a heartbeat thread is active.
Potential Impact
An attacker can cause denial of service by forcing the server to allocate excessive background threads, potentially exhausting system resources and disrupting service availability. This primarily impacts synchronous python-engineio servers. There is no impact on confidentiality or integrity reported. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade python-engineio to version 4.13.2 or later, where the vulnerability is fixed. The fix restricts heartbeat thread creation to authenticated clients and limits one heartbeat thread per client. No other mitigation is required.
CVE-2026-48802: CWE-770: Allocation of Resources Without Limits or Throttling in miguelgrinberg python-engineio
Description
python-engineio is a Python implementation of the Engine.IO realtime client and server. Prior to version 4.13.2, an 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. 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. Version 4.13.2 addresses this issue as follows: The initial background thread (or async task( for heartbeat management is only launched if a client passes authentication in the `connect` handler; and 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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The python-engineio library before version 4.13.2 has a flaw in its heartbeat mechanism that allows an attacker to trigger unnecessary background thread creation on the server side. Specifically, when a new connection is received and when a client sends a PONG packet, the server may launch multiple heartbeat threads if not properly controlled. This can exhaust server resources and cause denial of service, especially on synchronous servers that use physical threads. The fix in version 4.13.2 ensures that heartbeat threads or async tasks are only created after client authentication and enforces a single heartbeat thread per client, discarding out-of-sequence PONG packets if a heartbeat thread is active.
Potential Impact
An attacker can cause denial of service by forcing the server to allocate excessive background threads, potentially exhausting system resources and disrupting service availability. This primarily impacts synchronous python-engineio servers. There is no impact on confidentiality or integrity reported. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade python-engineio to version 4.13.2 or later, where the vulnerability is fixed. The fix restricts heartbeat thread creation to authenticated clients and limits one heartbeat thread per client. No other mitigation is required.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cgwc-pv48-fhj5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48802"]
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a3ef76827e9c79719fee7b3
Added to database: 06/26/2026, 22:04:24 UTC
Last enriched: 08/12/2026, 12:54:06 UTC
Last updated: 09/13/2026, 10:01:31 UTC
Views: 101
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.