Skip to content
OpenAdvisories
High · 7.5 CVE-2026-48802 EUVD-2026-56859GHSA-cgwc-pv48-fhj5PYSEC-2026-3032

python-engineio has unbound thread allocation that can cause denial of service

Published Aug 11, 2026 · Updated Aug 13, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 python-engineio 4.14.0-1 —
Debian 13 python-engineio No fix yet —
Debian 12 python-engineio No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-engineio No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 python-python-engineio 4.3.4-150600.3.3.1 SUSE-SU-2026:3085-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 python-python-engineio 4.12.0-bp160.2.1 openSUSE-SU-2026:21182-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-engineio < 4.13.2 4.13.2 GHSA-cgwc-pv48-fhj5

Advisories 2

References