Advisory

GHSA-63cx-g855-hvv4

Also known as: None

Summary

mitmproxy binaries embed a vulnerable python-hyper/h2 dependency

Details

mitmproxy 12.1.1 and below embed python-hyper/h2 ≤ v4.2.0, which has a gap in its HTTP/2 header validation. This enables request smuggling attacks when mitmproxy is in a configuration where it translates HTTP/2 to HTTP/1. For example, this affects reverse proxies to http:// backends. It does not affect mitmproxy's regular mode.

All users are encouraged to upgrade to mitmproxy 12.1.2, which includes a fixed version of h2.

More details about the vulnerability itself can be found at https://github.com/python-hyper/h2/security/advisories/GHSA-847f-9342-265h.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-25 21:01 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

mitmproxy

PyPI · All systems

Affected

  • introduced 0, fixed 12.1.2 (ecosystem)

Fixed versions

12.1.2

Fix

  • Fixed version 12.1.2
    pip install --upgrade mitmproxy==12.1.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences