Skip to content
Back to Changelog

Brotli vulnerability fixed in Appwrite 2.6.2, 1.9.10 and Bun 1.4

A vulnerability in Brotli, the compression format most of the web uses, can let an attacker run code on any server that decompresses crafted Brotli data (CVE-2026-111497). It affects the Appwrite server and the Node.js and Bun runtimes that run your functions and sites.

Appwrite Cloud is patched, and you don't need to do anything. Functions and sites on Node.js 22, 24 and 26 and on Bun 1.4 run patched runtimes without a redeploy. The Appwrite firewall also blocks Brotli attack requests to functions and sites.

Self-hosted Appwrite decompresses Brotli responses when it fetches URLs that you or your users provide, such as avatar images, favicons, webhooks and migration sources. Upgrade to a release with the fixed decoder:

Self-hosted functions and sites also need the patched runtime images. Run these commands from your Appwrite directory, even if you ran them for the Node.js security release on October 23, because they now also pull Bun 1.4.4. Your functions and sites start on the patched runtimes the next time they run. The commands stop any executions in progress, so run them at a quiet time.

Bash
# Pull the patched version of every runtime image on this server
docker images 'openruntimes/*' --format '{{.Repository}}:{{.Tag}}' \
| grep -v executor | xargs -r -n1 docker pull &&
# Stop the executor so it doesn't start new runtimes
docker compose stop openruntimes-executor &&
# Remove the runtimes still running on the old images
docker ps -aq --filter label=openruntimes-executor | xargs -r docker rm -f &&
# Start the executor again
docker compose start openruntimes-executor

Node.js 16, 18, 19, 20, 21, 23 and 25 and Bun 1.0, 1.1, 1.2 and 1.3 won't get this fix, on Appwrite Cloud or self-hosted, because they no longer receive updates. If a function or site uses one of these versions, change its runtime to Node.js 22, 24 or 26 or Bun 1.4 in its settings and create a new deployment.

Ready to build?_