# CVE-2026-48802: python-engineio has unbound thread allocation that can cause denial of service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-06-26T20:51:37.000Z
- Modified: 2026-09-18T20:09:01.757Z
- Also known as: GHSA-cgwc-pv48-fhj5, PYSEC-2026-3032
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- miguelgrinberg python-engineio: < 4.13.2
- python-engineio (PyPI): before 4.13.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-cgwc-pv48-fhj5> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/python-engineio/PYSEC-2026-3032.yaml>
- <https://github.com/miguelgrinberg/python-engineio> (package)
- <https://pypi.org/project/python-engineio> (package)
- <https://github.com/advisories/GHSA-cgwc-pv48-fhj5> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48802> (advisory)

## Sources

- CVE List: [CVE-2026-48802](https://www.cve.org/CVERecord?id=CVE-2026-48802), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-cgwc-pv48-fhj5](https://github.com/advisories/GHSA-cgwc-pv48-fhj5), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-48802](https://nvd.nist.gov/vuln/detail/CVE-2026-48802), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-3032](https://osv.dev/vulnerability/PYSEC-2026-3032), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-48802 · Whole record: https://cve.day/CVE-2026-48802.json · Rebuilt by cve.day 2026-11-25T22:59:32.499Z
