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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| miguelgrinberg | python-engineio | < 4.13.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-engineio | 4.14.0-1 | — |
| Debian 13 | python-engineio | No fix yet | — |
| Debian 12 | python-engineio | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-engineio | No fix yet | — |
| Ubuntu 26.04 LTS | python-engineio | No fix yet | — |
| Ubuntu 24.04 LTS | python-engineio | No fix yet | — |
| Ubuntu 22.04 LTS | python-engineio | No fix yet | — |
| Ubuntu 20.04 LTS | python-engineio | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | python-engineio | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python-python-engineio | 4.3.4-150600.3.3.1 | SUSE-SU-2026:3085-1 |
| SLES 3 | python-python-engineio | 4.3.4-150600.3.3.1 | SUSE-SU-2026:3085-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | python-python-engineio | 4.3.4-150600.3.3.1 | SUSE-SU-2026:3085-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | python-python-engineio | 4.12.0-bp160.2.1 | openSUSE-SU-2026:21182-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | python-engineio | < 4.13.2 | 4.13.2 | GHSA-cgwc-pv48-fhj5 |
Advisories 2
- SUSE-SU-2026:3085-1 Security update for python-python-engineio SUSE / openSUSE Security Updates · Jul 17, 2026
- openSUSE-SU-2026:21182-1 Security update for python-python-engineio SUSE / openSUSE Security Updates · Jul 2, 2026