Repository navigation
docs: add CVE-2026-111497 Brotli note to README - #51
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ac-bgelfius
approved these changes
Nov 10, 2026
ac-bgelfius
left a comment
There was a problem hiding this comment.
Approving. Every claim in the note checks out at the version that runs:
- With
httpx>=0.28.1,<0.29.0(this repo's pin), httpx 0.28.1 builds its defaultAccept-Encodingfrom the decoders it can import, and dropsbrunlessbrotliorbrotlicffiis installed. The SDK sets noAccept-Encodingof its own. So "requests and decodes Brotli only when the optional package is installed" is right. brotli1.2.1 andbrotlicffi1.2.1.0 are both on PyPI. Upstream Brotli lists this CVE as fixed in v1.2.1.
Optional: the note could name the affected Brotli range (1.0.3–1.2.0) like the WordPress note does, and remind readers that a long-running process needs a restart to pick up the new package.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs only. Adds a README security note for CVE-2026-111497, a buffer overflow in the Brotli decoder that can lead to remote code execution.
This library ships no Brotli code. The vulnerable decoder belongs to the runtime it runs on. This note tells users what to patch and whether this client ever puts Brotli in front of that decoder.
We deliberately chose not to change client code. An
Accept-Encodingchange only stops an honest server sending Brotli. It doesn't stop an attacker who controls or tampers with the response, so a patched runtime is the only real fix.What the client does: httpx only requests and decodes Brotli when the optional
brotliorbrotlicffipackage is installed. Neither is a dependency of this SDK. The note gives the fixed floors:brotli>= 1.2.1 andbrotlicffi>= 1.2.1.0. Their wheels bundle libbrotli, so upgrading the package is the fix.Every claim in the note was checked against the client's source by an open-source maintainer review and a security review before commit. No CHANGELOG entry, because nothing in the shipped software changes. No GHSA, because this is not a vulnerability in this package.
Tracking: PMK-3626
🤖 Generated with Claude Code