Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
What to do
- Upgrade to a fixed version: brotli 1.2.1, brotlicffi 1.2.1.0.
- This is exploited in the wild: treat it as urgent (CISA's federal deadline is Nov 10, 2026).
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
brotli
- >= 1.0.3, < 1.2.1
- 1.2.1
Check your project: pip show brotli
brotlicffi
- >= 1.0.3, < 1.2.1.0
- 1.2.1.0
Check your project: pip show brotlicffi
What changed
Added to CISA KEV on 2026-10-27: exploitation in the wild confirmed; federal remediation due 2026-11-10.
Published in the GitHub Advisory Database as critical.