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.
Gặp lỗi hoặc có ý tưởng? Báo lỗi hoặc góp ý
Share
Bạn cũng có thể thích
- Kiểm tra PHP2ShellKiểm tra phiên bản PHP đã vá lỗ hổng PHP2Shell (CVE-2026-109618, CVE-2026-109619) chưa, từ kết quả php -v hoặc phpinfo().
- 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.
- Trình tạo mật khẩuTạo mật khẩu ngẫu nhiên mạnh ngay lập tức. 100% phía client.
- Trình tạo mã 2FATạo mã TOTP từ khóa bí mật 2FA. Không rời khỏi trình duyệt.
- MD5 EncoderTạo mã băm MD5 từ văn bản ngay trong trình duyệt.
- Xóa Metadata ẢnhXóa EXIF, GPS và toàn bộ metadata khỏi ảnh cục bộ.
- Tạo HashTạo mã băm SHA-1, SHA-256, SHA-512 từ văn bản hoặc file. 100% cục bộ.
- Mã hoá văn bảnMã hoá và giải mã văn bản bằng mật khẩu với AES-GCM. 100% phía client, dùng Web Crypto.