Security
HTTP2Shell Checker
Check if your Node.js, Bun, Python Brotli or system Brotli library is patched against HTTP2Shell, also called Node2Shell (CVE-2026-111497), and copy the commands to check, update and block it.
How to get it
node --versiondocker run --rm <image> node --versionnpm ls express body-parsergrep -rnE "createBrotliDecompress|brotliDecompress|express\.json|bodyParser" src/Paste a version
Choose what to check, then paste its version or the output of the command shown below.
Update
nvm install 24 && nvm alias default 24# Docker: rebuild on a patched base image, e.g. FROM node:24.22.1Fixed versions (as of 24 October 2026)
| Node.js 22.x | 22.23.4 |
| Node.js 24.x | 24.22.1 |
| Node.js 26.x | 26.12.1 |
| Node.js 25, 23, 20, 18 | No fix: end of life, upgrade |
| Bun | 1.4.4 |
| Python Brotli (PyPI) | 1.2.1 |
| Python brotlicffi (PyPI) | 1.2.1.0 |
| Google Brotli (libbrotli) | 1.0.10 / 1.1.1 / 1.2.1 |
| Debian 12 bookworm | 1.0.9-2+deb12u1 |
| Debian 13 trixie | 1.1.0-2+deb13u1 |
| Ubuntu | Needs evaluation: no fixed package yet |
Temporary blocks until you can update
These stop Brotli data from reaching a vulnerable decoder. They do not replace the update, and blocking incoming requests does not protect responses your app downloads.
nginx: reject requests whose body is Brotli-compressed (inside the server block)
if ($http_content_encoding ~* "br") {
return 415;
}Apache: reject Brotli-compressed request bodies (mod_rewrite)
RewriteEngine On
RewriteCond %{HTTP:Content-Encoding} br [NC]
RewriteRule ^ - [F]Express 5: stop body-parser from decompressing request bodies (also turns off gzip bodies)
app.use(express.json({ inflate: false }));Bun: do not auto-decompress a response from a server you don't control
await fetch(url, { decompress: false });Python: remove the Brotli packages so HTTP clients fall back to gzip
pip uninstall -y Brotli brotlicffiChecked in your browser. What you paste is never uploaded.
发现问题或有想法? 报告问题
Share
您可能还喜欢
- PHP2Shell 检查根据 php -v 或 phpinfo() 输出,检查 PHP 是否已修复 PHP2Shell(CVE-2026-109618、CVE-2026-109619)。
- KSMBD Exposure CheckerPaste a few command outputs to see if a Linux server is exposed to the unpatched KSMBD flaws ZDI-CAN-33774 and ZDI-CAN-33549, and turn KSMBD off.
- CVE-2026-98432 CheckerCheck if a Linux server has the IPv4 TCP use-after-free CVE-2026-98432 (CVSS 9.8) that Anthropic exploited over MPTCP, and how to patch or harden it.
- DarkSword iPhone CheckType your iOS version to see if your iPhone is open to DarkSword or P7 DarkSword spyware, and the update that fixes it.
- 密码生成器即时生成强随机密码。100% 在本地运行。
- 双重验证码生成器从您的 2FA 密钥生成 TOTP 代码。永不离开您的浏览器。
- MD5 编码器在浏览器中本地从文本生成 MD5 哈希。
- 图片元数据清除器从图片中删除 EXIF、GPS 和所有元数据。本地处理。
- 哈希生成器从文本或文件生成 SHA-1、SHA-256、SHA-512 哈希值。100% 本地。
- 文本加密器使用 AES-GCM 通过密码加密和解密文本。完全在浏览器中运行,基于 Web Crypto。