Advisory

PYSEC-2026-1427

Also known as: CVE-2023-32731, GHSA-cfgp-2977-2fmm

Summary

Connection confusion in gRPC

Details

When gRPC HTTP2 stack raised a header size exceeded error, it skipped parsing the rest of the HPACK frame. This caused any HPACK table mutations to also be skipped, resulting in a desynchronization of HPACK tables between sender and receiver. If leveraged, say, between a proxy and a backend, this could lead to requests from the proxy being interpreted as containing headers from different proxy clients - leading to an information leak that can be used for privilege escalation or data exfiltration.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

grpcio

PyPI · All systems

Affected

  • introduced 1.53.0, fixed 1.53.1, introduced 1.54.0, fixed 1.54.2 (ecosystem)

Fixed versions

1.53.1, 1.54.2

Fix

  • Fixed version 1.53.1
    pip install --upgrade grpcio==1.53.1
  • Fixed version 1.54.2
    pip install --upgrade grpcio==1.54.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences