{"id":"CVE-2026-48802","published":"2026-08-11T18:27:50Z","modified":"2026-08-13T14:35:20Z","title":"python-engineio has unbound thread allocation that can cause denial of service","vendor":"miguelgrinberg","product":"python-engineio","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00575,"percentile":0.48357,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-cgwc-pv48-fhj5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-engineio/PYSEC-2026-3032.yaml","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.67},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"miguelgrinberg","affectedVersions":[{"vendor":"miguelgrinberg","product":"python-engineio","versions":["< 4.13.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-13T14:34:21.510007Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-engineio","vulnerableRanges":["<4.13.2"],"patched":["4.13.2"],"from":["GHSA-cgwc-pv48-fhj5","PYSEC-2026-3032"],"provenance":"source"}],"summary":{"text":"The python-engineio Python implementation of the Engine.IO realtime client and server allocates background heartbeat threads without limit: before version 4.13.2, each new connection launches a thread and each client PONG packet can launch another, with the issue primarily affecting synchronous servers. An unauthenticated remote attacker who can reach the server over the network can trigger the creation of unnecessary threads by abusing the heartbeat mechanism, with no user interaction or special configuration required, which can lead to denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:25Z"},"euvd":{"id":"EUVD-2026-56859","exploited":false,"provenance":"source"}}