v12.3.0Desktop
mitmproxy 12.3.0
Added 6
- Add --emudhra and --emudhra-old options to sign TLS certificates with a compromised eMudhra intermediate CA key.
- mitmweb: Support float addon options in the Options editor.
- Add launch_edge() to the Browser addon so browser.start edge can launch an isolated, proxy-configured instance of Microsoft Edge.
- mitmweb: Add a dark theme selectable via the new web_theme option (system, dark, or light), where system follows the operating system's color-scheme preference.
- mitmweb: Make flow-table columns resizable by dragging header edges or fitting a column to its contents by double-clicking, with widths persisting across reloads.
- mitmweb: Show colored status-code and method badges in the flow table, and add hover tooltips to the TLS, replay, intercept, and error indicators.
Changed 6
- Raise the upper bound of the typing-extensions dependency from 4.14 to 4.16.0 on Python 3.12 so mitmproxy can be installed alongside packages requiring a newer release.
- Accept colons in Basic authentication passwords.
- Clarify that inbound header validation covers requests and responses.
- Replace deprecated pyparsing APIs with their snake_case equivalents to avoid PyparsingDeprecationWarning during command and flow-filter parsing.
- mitmweb: Replace the flow table's raster resource type icons with SVG icons that follow the active theme.
- Update the Linux binary builder to Debian 12, bumping the minimum glibc version to 2.36. requirement raised · inferred, marked in the notes below
Fixed 12
- Fix the WBXML contentview raising a KeyError on tags missing from the code page, showing them as UNKNOWN_TAG_XX instead.
- Fix Set-Cookie attribute parsing so subsequent attributes such as Secure or HttpOnly are not swallowed into Expires when Expires contains non-date or short values, and correctly parse RFC 850 dates with full weekday names.
- Fix typos in the save_stream_file option help, docstrings and examples.
- Fix the global listen_port option being applied to proxy modes that do not bind a port, such as local, which caused a 'Cannot spawn multiple servers on the same address' error.
- Bracket IPv6 target literals in the CONNECT request and Host header sent to an upstream proxy, producing a valid RFC 3986 authority such as [2001:db8::1]:443.
- mitmweb: Fix an infinite update cycle in the event log by only recomputing the virtual-scroll window when the event list or rowHeight actually change.
- Fix a crash on OpenSSL builds that reject a TLS protocol version at context-setup time by treating such versions as unsupported instead of raising an unhandled SSL.Error.
- mitmweb: Fix the flow table header of the sorted column keeping a light background and hiding its sort chevron under the dark theme.
- mitmweb: Honor the view_order_reversed option for live flows so new flows are placed at the top of the table when set.
- Fix contentview detection for XML files that start with CRLF.
- mitmweb: Fix the filter input losing half-typed text on unrelated parent re-renders.
- mitmweb: Fix an infinite update cycle in FlowTable by only recomputing the virtual-scroll window when flowView or rowHeight actually change.
Removed 1
- Remove the unused msgpack dependency.
Security 1
- Remove eMudhra CAs from the trust list in precompiled binaries. behavior changed · inferred, marked in the notes below
2 changes to check, marked in the notes below
From mitmproxy
- Add
--emudhraand--emudhra-oldoptions to sign TLS certificates with a compromised eMudhra intermediate CA key. (#8500, #8503, @mhils) - Security: Remove eMudhra CAs from trust list in precompiled binaries. (#8499, @mhils) behavior changed · inferred
- Major improvements to the Web UI. (@sleeyax, @lups2000)
Other Changes
- Fix the WBXML contentview raising a
KeyErroron tags that are missing from the code page, instead of showing them asUNKNOWN_TAG_XX. (#8495, @kayaal34) - Fix
Set-Cookieattribute parsing: prevent subsequent attributes (such asSecureorHttpOnly) from being swallowed intoExpireswhenExpirescontains non-date or short values (e.g.Expires=0), and correctly parse RFC 850 dates with full weekday names. (#8489, @7-Bala) - Fix typos in the
save_stream_fileoption help, docstrings and examples. (#8494, @qodelicious) - Fix the global
listen_portoption being applied to proxy modes that don't bind a port (e.g.local), which caused a "Cannot spawn multiple servers on the same address" error when enabling local capture. (#8471, @WarpFoxHub) - Raise the upper bound of the
typing-extensionsdependency from 4.14 to 4.16.0 on Python 3.12, so that mitmproxy can be installed next to packages that require a newer release (for example pydantic 2.12 and later). (#8472, @jpcaruana) - Accept colons in Basic authentication passwords. (#8469, @gigioneggiando)
- Clarify that inbound header validation covers requests and responses. (#8470, @gigioneggiando)
- mitmweb: Support
floataddon options in the Options editor. (#3144) - Add
launch_edge()to the Browser addon, sobrowser.start edgecan launch an isolated, proxy-configured instance of Microsoft Edge, matching the existing Chrome and Firefox support. (#8407, @eliahu-frusin) - Replace deprecated pyparsing APIs with their snake_case equivalents to avoid
PyparsingDeprecationWarningduring command and flow-filter parsing. (#8344, @Dnsayhey) - mitmweb: Replace the flow table's raster resource type icons with SVG icons so they follow the active theme. (#8337, @sleeyax)
- Bracket IPv6 target literals in the
CONNECTrequest andHostheader sent to an upstream proxy (--mode upstream), producing a valid[2001:db8::1]:443authority per RFC 3986 instead of the malformed2001:db8::1:443. (#8326, @gaurav0107) - mitmweb: Fix an infinite update cycle in the event log by only recomputing the virtual-scroll window in
componentDidUpdatewhen the event list orrowHeightactually change. (#8312, @hexbinoct) - Remove the unused
msgpackdependency. The msgpack contentview is implemented in Rust and shipped withmitmproxy_rssince mitmproxy 12. (#8319, @lukehsiao) - Update Linux binary builder to Debian 12, bumping the minimum glibc version to 2.36. (#8458, @mhils) requirement raised · inferred
- Fix a crash on OpenSSL builds that reject a TLS protocol version at
context-setup time (e.g. SSLv3):
is_supported_versionnow treats such a version as unsupported instead of raising an unhandledSSL.Error. (#8294, @gaurav0107) - mitmweb: Fix the flow table header of the sorted column keeping a light background and hiding its sort chevron under the dark theme. (#8336, @sleeyax)
- mitmweb: Add a dark theme, selectable via the new
web_themeoption (system,dark, orlight).systemfollows the operating system's color-scheme preference. (#8317, @sleeyax) - mitmweb: Make flow-table columns resizable by dragging their header edges, or fit a column to its contents by double-clicking one. Widths persist across reloads. The Appearance section of the Options menu picks which columns the flow table shows and restores their default widths. (#8358, @sleeyax)
- mitmweb: Show colored status-code badges and method badges in the flow table, and add hover tooltips to the TLS, replay, intercept, and error indicators. (#8335, @sleeyax)
- mitmweb: Honor the
view_order_reversedoption for live flows. New flows are now placed at the top of the table when the option is set, instead of always being appended at the bottom. (#8288, @hexbinoct) - Fix contentview detection for XML files that start with CRLF. (#8243, @ADiTyaRaj8969)
- mitmweb: Fix the filter input losing half-typed text on unrelated parent re-renders. (#8234, @ariel42)
- mitmweb: Fix an infinite update cycle in
FlowTableby only recomputing the virtual-scroll window incomponentDidUpdatewhenflowVieworrowHeightactually change. (#8233, @ariel42) - mitmweb: Fix AVIF images and
image/vnd.microsoft.iconfavicons not rendering in the response tab. (#8232, @ariel42) - mitmweb: Fix correctly displaying multiple blank lines in content renderer. (#8248, @vincentdehaan)
- Fix QUIC connections never starting if --allow-hosts or --ignore-hosts is set. (#8295, @tbodt)
- Correctly read the SNI hostname from fragmented QUIC client hellos. (#8296, @tbodt)
- mitmweb: Fix for modified reason phrase not being sent (#8333, @grusski)
- Use stdlib (PEP-784) for Zstandard compression on Python 3.14+ (#8397, @Rogdham)
- mitmweb: Fix the flow details splitter and make dragging resize the panels live. (#8492, @lups2000)