Repository navigation
Releases
2.7.4
Appwrite 2.7.4 is a maintenance patch for the 2.7 line. It rebuilds on PHP 8.5.13, which fixes an OPcache bug that could make a worker reject every DateTime value until it restarted, and moves to openruntimes/executor 1.3.7. The Console stays at 1.2.181. Upgrading from 2.7.3 needs no schema changes.
Highlights
- PHP 8.5.13 (was 8.5.12), through
appwrite/base2.2.13. On 8.5.12 a Swoole worker could start failing withmust be of type DateTime, DateTime givenon any request that touched a date, and kept failing until the worker exited (php-src GH-24577). - Executor
openruntimes/executor1.3.7 (was 1.3.5), built on the same PHP release.
Fixes
Functions and Sites
- A runtime that crashes on startup now reports its crash output straight away instead of waiting for the startup timeout (open-runtimes/executor#276, #15848).
Under the hood
Removed
Nothing.
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.7.4Upgrade
Upgrading from 2.7.x uses the same command with --entrypoint="upgrade", then run the migration. 2.7.4 uses the same migration as 2.7.1, 2.7.2 and 2.7.3, so migrate changes no data on an install already on 2.7.
cd appwrite
docker compose exec appwrite migrateBack up your data first.
Contributors
Thank you to everyone who contributed to 2.7.4:
2.7.3
Appwrite 2.7.3 is a maintenance patch for the 2.7 line. It rebuilds on appwrite/base 2.2.12 and moves to openruntimes/executor 1.3.5 to clear the images' open vulnerability findings. Upgrading from 2.7.2 needs no schema changes.
Highlights
- Base image
appwrite/base2.2.12: a rebuild of 2.2.11 on current Alpine packages, including libpq 18.7. - Executor
openruntimes/executor1.3.5 (was 1.3.1), with its image CVE fixes.
Under the hood
Removed
Nothing.
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.7.3Upgrade
Upgrading from 2.7.x uses the same command with --entrypoint="upgrade", then run the migration. 2.7.3 uses the same migration as 2.7.1 and 2.7.2, so migrate changes no data on an install already on 2.7.
cd appwrite
docker compose exec appwrite migrateBack up your data first.
Contributors
Thank you to everyone who contributed to 2.7.3:
Related: appwrite-labs/cloud#6671
2.7.2
Appwrite 2.7.2 is a security patch for the 2.7 line. It backports the security fixes released on main since 2.7.1, rebuilds on appwrite/base 2.2.11 to clear the image's open vulnerability findings, and ships with the 1.2.181 self-hosted Console (was 1.2.138). Upgrading from 2.7.1 needs no schema changes; we recommend every 2.7 install upgrades.
Highlights
- Security fixes across auth, abuse limits, storage, realtime, messaging, functions, VCS and proxy (below).
- Base image
appwrite/base2.2.11: patched git, curl, libexpat, perl, rsync and Docker CLI packages, and Go 1.27.4 forgit-remote-entire. - Console 1.2.181.
Fixes
Abuse limits
- Rate limits kept per account or per email address are now also kept per project. (#15280)
- Code and secret confirmation routes (verification, recovery, token, phone and magic URL sessions, MFA) now count every caller, including API keys. (#15277, #15470)
Auth
- Email verification tokens are claimed under the user row lock. (#15278)
- Organization project transfers require an organization owner. (#15178)
Storage
- Buckets with
allowedFileExtensionscheck the uploaded content against the allowed formats. (#15458, #15546)
Realtime
- Membership events respect membership privacy. (#15176)
- Account events are addressed by the full user ID. (#15308)
- Member sockets end when their project team is deleted. (#15335)
Messaging
- Attaching a push notification image requires
files.read, and its URL is withheld from callers without it. (#15302, #15341) - A message can only be updated through its own provider type's route. (#15409)
Functions, sites and deployments
- Server credentials stay out of client-readable schedules. (#15259)
- Deployment downloads with a key check the read scope. (#15460)
- Password-typed template variables are stored as secrets, and template variables match their code. (#15477, #15414)
VCS
- Webhook deployments are pinned to the resolved repository and build only at the branch head the provider reports. (#15261, #15279)
- Entire and Origin installation state is bound to the caller. (#15181)
- Commit preview hostnames are bound to their project and resource. (#15334)
Proxy, databases, GraphQL and migrations
- Rule domains are claimed only on a DNS label boundary. (#15303)
- Cached list fields are scoped to the version they were read at. (#15187)
- GraphQL list complexity is charged even when the selection is skipped. (#15305)
- The migration export download link is hidden from keys without data access. (#15268)
Under the hood
appwrite/base2.2.11 (#15492, #15531) and patched Debian packages in the Console image (#15491).- The migration package holds
appwrite/appwrite(PHP SDK) at 32.2 on 2.7.x (#15534); the abuse package requires^32.2.0(#15474).
Removed
Nothing.
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.7.2Upgrade
Upgrading from 2.7.1 uses the same command with --entrypoint="upgrade", then run the migration. 2.7.2 uses the same migration as 2.7.1, so migrate changes no data on an install already on 2.7.1.
cd appwrite
docker compose exec appwrite migrateBack up your data first.
Contributors
Thank you to everyone who contributed to 2.7.2:
2.7.1
Appwrite 2.7.1 is a security release that moves the Open Runtimes executor to 1.3.1. It ships with the same 1.2.138 self-hosted Console as 2.7.0, has no schema changes, and upgrading from 2.7.0 only replaces the images.
Security
- Update the Open Runtimes executor from 1.1.2 to 1.3.1 (open-runtimes/executor#269, #15310). Executor 1.1.2 followed symlinks that a function or site plants in its execution log files, build logs, build output or build cache, and it used the runtime's log id without checking it. A function could read files from the executor container, including its environment with
_APP_EXECUTOR_SECRET, as its own logs or build output. With that secret, code in a function can call the executor API directly, and the executor controls Docker on the host. You are affected if anyone you don't fully trust can deploy functions or sites on your instance. Upgrade, then rotate_APP_EXECUTOR_SECRETif that applies to you. - Executor 1.2.x and 1.3.x also bring changes that keep existing behaviour:
OPR_EXECUTOR_SECRET_PREVIOUSfor rotating the executor secret without downtime, a storage DSN check that is off by default, and an opt-in streamed response format.
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.7.1Upgrade
Upgrading from 2.7.0 uses the same command with --entrypoint="upgrade", then run the migration, which has nothing to change for this release:
cd appwrite
docker compose exec appwrite migrateIf you maintain your own docker-compose.yml, set the openruntimes-executor image to openruntimes/executor:1.3.1 and run docker compose up -d.
To rotate the executor secret, set a new _APP_EXECUTOR_SECRET in .env and run docker compose up -d. This recreates the API, the workers and the executor together, so nothing needs the old value.
Back up your data first.
Contributors
Thank you to everyone who contributed to 2.7.1:
Full Changelog: 2.7.0...2.7.1
2.7.0
Appwrite 2.7.0 adds server key rotation, a way to sign out every user of a project, a realtime policy that keeps guests from subscribing, origin-bound OTP-Token headers on code emails, Gitea in the Console's Git connect flow, and per-connection limits for realtime and MQTT. It also carries the security and reliability fixes merged since 2.6.2 across auth, databases, realtime, storage, functions, sites, VCS and migrations. It ships with the 1.2.138 self-hosted Console (was 1.2.108). Upgrading from 2.6.2 needs migrate: V25 now adds new attributes, indexes and collections. No configuration change is required, but several defaults tighten, so read Upgrade before you upgrade.
Highlights
- Server key rotation. The server key is now versioned.
_APP_OPENSSL_KEY_CURRENTpicks the_APP_OPENSSL_KEY_V{n}that signs new tokens and encrypts new data._APP_OPENSSL_KEY_OLDESTis the oldest version still accepted when verifying JWTs, ephemeral keys, resource tokens and OAuth/VCS state. Stored values keep decrypting with the version they record. The newencryptiontask re-encrypts stored data under the current version. With the defaults (CURRENT=1,OLDEST=1) nothing changes (#15198, #15199). - Sign out every user in a project.
DELETE /v1/project/sessionsand a new card on Auth > Settings invalidate every session in the project at once. Old session documents are removed in the background, and realtime connections on those sessions are closed, impersonated ones included (#14647, #15089). - Realtime guests policy. Auth > Policies > Realtime can stop guests from opening realtime subscriptions (#14945, #14996).
- Realtime and MQTT limits. A realtime connection can hold at most 100 subscriptions, 100 channels and 100 queries in total (nested
and/orqueries count), and one project user at most 32 connections per realtime worker. Set the first three with_APP_LIMIT_REALTIME_SUBSCRIPTIONS,_APP_LIMIT_REALTIME_CHANNELSand_APP_LIMIT_REALTIME_QUERIES. The MQTT broker caps topic filters per SUBSCRIBE at 100, connections at 32 per user per worker, and SUBSCRIBE packets at 32 a minute per user when_APP_OPTIONS_ABUSEis on. Realtime also closes connections that have been silent for two minutes, so presence no longer sticks for clients that dropped off (#14945, #14948, #15056, #15059). OTP-Tokenemail header. Email OTP sign-in, OTP password recovery, OTP email verification and email MFA challenges carry anOTP-Tokenheader bound to the request's origin, so mail clients and password managers can autofill the code only on that origin. It is sent only for HTTPS origins (orlocalhost), so server SDK calls and native apps get the same email as before (#15096).- Gitea in Git connect. Create function, create site, the repository picker and project Git settings offer Connect Gitea when
_APP_VCS_GITEA_*is configured. The connect buttons now show only the providers the server has configured, instead of offering ones whose authorization fails (#15004). - Playground. API Explorer and Realtime now share one Playground screen with a REST / Realtime switch. Old Explorer and Realtime links redirect to it.
- Console 1.2.138. Besides the screens above: Logs on verified domains, so certificate renewal warnings can be read (#15015); a warning and Disconnect action when a site's or function's repository is no longer reachable through its installation (#15043); column editor fixes (#15081, #15117, #15072); API explorer keys kept in memory instead of
localStorageand cleared on sign-out (#14994); and patched Zod copies (#14908).
Fixes
Auth and accounts
- Require an MFA challenge from the last few minutes to turn MFA off, as deleting an authenticator already does (#15057).
- Make TOTP codes single-use, so one code can't complete a challenge on a second session; the enrolment code can't be reused either (#15154).
- Proving an unverified phone now claims the account the same way an unverified email does. Every claim path (magic URL, email OTP, password recovery, signed-out team invite) revokes what the registrant left behind, keeps MFA in force when the account needs two factors, and closes the registrant's live realtime and MQTT connections (#15058, #14976, #15144, #15062).
- Bind the OAuth2 state to the user who started the flow (#15029).
- Scope the email sign-in rate limit to the project and address (#15023).
- Keep created token and session secrets out of realtime events (#14520). Fixes #14415.
- Apply a project's custom session alert template only when its custom SMTP is enabled, like every other email (#15055).
- Stop granting
rules.readto project end users, who could list the project's proxy rules (#15013). - Let API keys call
publicscope endpoints such as the runtimes and frameworks lists, whichappwrite init functionneeds in CI (#15156). - Fall back to the default locale when a translation is an empty string, which queued recovery emails without a subject (#15069).
Users and teams
- Stop a blocked user from impersonating (#15021).
- Reject imported Argon2 hashes that can never verify (#14924).
- Delete a user's presence when the user is blocked or deleted (#14397). Fixes #14344.
- Revoke MQTT topic subscriptions when a user's push targets are deleted with their credentials (#14952).
- Check whether the caller may invite to a team before the invitee is looked up or created (#14947).
- Apply membership privacy to the create and update membership responses (#15027).
- Enforce the last-owner rule on console teams for every caller, API keys included, and count only confirmed owners (#15153).
Databases
- Scope transactions to the API they were created from: a transaction created through VectorsDB can't be read or committed through TablesDB, and the other way around. Existing transactions are treated as legacy and stay usable through Databases and TablesDB (#14350).
- Require an API key or a privileged user for bulk update, upsert and delete, as bulk create already did (#15235).
- Emit row events for bulk operations in a transaction (#14383). Fixes #14219.
- Lock the transaction while staging operations (#14384). Fixes #14332.
- Apply transaction bulk updates once, to matching rows only, and handle missing query operators in transaction state filters (#14378, #14324). Fixes #14217, #14222.
- Load transaction metadata once per database and table (#14190). Fixes #14176.
- Bound offset and limit for transaction-aware listing (#14964).
- Refresh cached lists when document permissions change (#14869).
- Chunk the batch duplicate lookup by the maximum number of query values (#15017).
- Accept
upsertin row and document event subscriptions for functions and webhooks (#14742). Fixes #14653. - Console: restrict column number inputs and stop prefilling unbounded min/max (#15081, Fixes #7706, #9217); drop renamed or deleted columns from the saved rows selection, which made every row list fail (#15117); don't crash the columns and indexes tabs while no table is selected (#15072).
- The project onboarding checklist counts VectorsDB databases, collections and documents (#15186).
Realtime and MQTT
- Reset a connection's authorization when it re-authenticates, so a connection opened in admin mode doesn't stay privileged after switching to a project user (#15064).
- End admin-mode connections when the console user loses access to the project (#15060).
- Re-authorize console tails on project transfer and re-authentication (#14989).
- Send console copies of project events to the project's readers, and address cross-tree event copies to the right audience (#14988, #15002).
- Keep execution logs and errors out of realtime payloads (#15024).
- Fail closed when a permission check is stuck, instead of stalling delivery for every project on the worker, and keep exceptions out of the pub/sub subscribe loop (#15086, #15166, #15169, #15168).
- Bound the MQTT revoke wait and fail closed on a verification timeout (#15085, #15170).
- Scope stored push messages to the topic instance (#14867).
Storage
- Harden chunked uploads, file rename and preview (#14935).
- Decode only supported raster formats in image transformations, and return 404 for favicons in an unsupported format (#14980, #15070).
- List local directory entries by literal name (#15033).
- S3 gateway: stop storing and returning
x-amz-server-side-encryption, and refuse bucket names that are not valid IDs (#14990, #15210). - Sign
Content-Lengthonly on S3 storage requests that have a body (#14523). Fixes #14326. - Keep the root directory when flushing the filesystem cache (#14515, #14059). Fixes #14007.
Functions and sites
- Keep function and site scopes within the scopes of the key that sets them (#15026).
- Reject control characters in execution header values (#15143).
- Keep the fallback session header out of function and site requests (#14925).
- Read deployment downloads through the file handle that was checked (#15022).
- Reserve the functions fallback domain for preview URLs, so rules can't claim it (#15025).
- Builds: reconcile missing build output callbacks, keep readiness across cache eviction, and clear the output of deployments deleted mid-build, so deployments no longer stay
building(#14914, #15135, #14927). - Retention: protect branch-pinned deployments, and retire deployments in small batches to stop worker OOMs (#15075, #15122).
- Require project read permission for private site previews (#14936).
- Bind screenshot keys to their project and rule, make screenshot capture deterministic, keep it within one HTTP timeout, and grant screenshots to the team a project moves to (#14977, #15031, #13315, #15077, #15157).
- Keep
{}objects such as emptyprefsas objects in event payloads instead of[](#13650). Fixes #6360.
VCS
2.6.2
Appwrite 2.6.2 is a security release for self-hosted deployments on the 2.6 line. It brings the hardening work merged since 2.6.1 across auth, API keys, databases, realtime, GraphQL, storage, VCS, functions, sites, migrations and messaging. It also moves the runtime to a patched Brotli and the Console to 1.2.108. There are no schema changes: upgrading from 2.6.1 keeps migration V25. A few fixes tighten defaults that a self-hosted install may rely on, so read Upgrade before you upgrade.
Highlights
- Brotli CVE-2026-111497.
appwrite/base2.2.7 updatesbrotli-libsfrom 1.2.0-r1 to 1.2.1-r0. 1.2.1 fixes an out-of-bounds write in the Brotli decoder. Appwrite is exposed through its outbound HTTP client: when a caller doesn't setAccept-Encoding, the cURL adapter accepts and decodesbr, and the avatar image and favicon endpoints fetch user-supplied URLs that way. The Swoole HTTP client links the same library (#14765). - API keys and JWTs stay within their grant. A key can no longer create or change a key with scopes it doesn't hold or an expiry later than its own, a JWT can't manage keys, account keys are limited to the console, and ephemeral keys are bound to their project (#14888, #14795, #14755, #14825).
- Realtime and GraphQL follow the HTTP rules. Realtime connections apply the same session checks as HTTP, admin mode needs project access, and console tails need project read. GraphQL keeps the caller's identity across the fields of one request (#14803, #14790, #14797, #14820).
- Outbound requests stay on public addresses. Project SMTP, messaging SMTP providers, migration sources and certificate checks now refuse private and reserved hosts unless you list them in
_APP_ALLOWED_INTERNAL_ADDRESSES, the same rule webhooks already use (#14811, #14794, #14870). - Console 1.2.108, which includes the DOMPurify sanitization fixes (#14892).
Fixes
Auth and accounts
- Clear pending recovery tokens when the account email changes (#14347).
- Authenticate API keys before skipping Origin checks (#14352).
- Apply project email policies to ID-token sign-in (#14633).
- Match existing users by exact email on OAuth and ID-token sign-in (#14778).
- Revoke prior credentials when OAuth links an unverified account (#14801).
- Tie phone tokens and invite verification to the address they reached (#14819).
- Rate limit token session attempts per account (#14880).
- Accept admin mode only from console origins (#14813).
- Read the onboarding project from the request params (#14807).
- Compare MFA codes in constant time (#14762).
Users and keys
- Hide credentials from impersonators (#14818).
- Require
users.writeto read MFA recovery codes (#14872). - Bound imported password hash costs, fix updates that send an empty password, and require a purpose for ephemeral keys (#14825).
- Keep key and webhook secrets out of the 1.9.4 project response format (#14815).
Databases
- Enforce permissions when staging transaction operations, and accept
documents.readon legacy transaction reads (#14754). - Gate increment and decrement, fix upsert permissions, and remove
embeddings.writefrom guests (#14755). - Rate limit guest transaction writes (#14762).
- Scope the list cache to collection permissions and gate inline encryption (#14791).
- Build transaction delete events from the stored document (#14781).
- Read staged increments on top of the stored value (#14751).
- Read transaction logs and the tenant database once per request (#14749).
- Fix writes to columns with dots in their names (#14753).
- Match exact searches without InnoDB phrase positions, and tighten function name and cast parsing in queries (#14871, #14866).
Organizations and projects
- Accept only keys and console sessions on organization routes (#14779).
- Evaluate project roles against the project in the path (#14787).
- Require owner on both organizations to transfer a project (#14780).
Realtime and GraphQL
- Apply the HTTP session rules to realtime connections (#14803).
- Require project access for admin mode connections (#14790).
- Authorize console tails with project read access (#14797).
- Send migration events only to project readers (#14805).
- Validate presence message IDs and metadata like the HTTP endpoint (#14829).
- End MQTT connections with the session or token they were opened with, and close the connection on a second CONNECT (#14804, #14809).
- Keep the caller's identity across the fields of one GraphQL request (#14820).
- Cost invalid list limits at the GraphQL complexity cap (#14821).
Storage
- Build
Content-Dispositionper RFC 6266 and validate file names (#14789). - Refuse reads of files whose upload isn't complete (#14876).
- Keep the platform default bucket private (#14814).
- Neutralize client-controlled upload paths in the Swoole adapter (#14897).
- S3 gateway: require
x-amz-*request headers to be signed, bound multipart parts, reclaim expired staging, honour bucket antivirus, send the same content headers as storage view, and reclaim replaced object versions (#14799, #14796, #14634, #14766).
Functions and sites
- Validate reserved
x-appwriteexecution headers case-insensitively (#14185). - Strip Appwrite session cookies from function and site requests (#14874).
- Keep console auth cookies out of runtimes and tighten preview access (#14823).
- Bind branch preview rules and build state to their project (#14786).
- Confine repository root directories and build artifact reads (#14808).
- Commit a deployment's ready status with its activation (#14525).
- Keep runtime and build job IDs unambiguous when IDs contain hyphens (#14817).
- Delete build cache with its function, site or runtime, and delete screenshot rows with their deployment (#14761, #14764).
- Reject an empty or default
_APP_JOBS_SECRET(#14116).
VCS
- Verify the GitHub webhook signature before fanning out the event (#14771).
- Verify GitHub installation access before connecting it (#14783).
- Bind installation state to the console user and an expiry (#14793).
- Match event repositories to their provider's installations (#14800).
- Verify TLS for Git provider API calls (#14802).
- Stop printing request params on provider errors (#14826).
- Name lost installation access in the repository-not-found error (#14650).
Migrations
- Confine migration and certificate check connections to public addresses (#14794).
- Apply the outbound host policy to migration sources (#14870).
- Validate NHost migration host parts (#14798).
- Check source key scopes for DocumentsDB and VectorsDB (#14868).
- Expose Migrations to server SDKs (#14882).
- Clean up expired and failed CSV/JSON exports, and remove import copies on project delete and refused imports (#14758, #14759).
Messaging and mails
- Require public SMTP hosts for project and messaging SMTP (#14811).
- Stop returning secret messaging provider credentials (#14875).
- Require
files.readto attach files to emails (#14827). - Escape the redirect variable in email templates (#14822).
- Expire push image tokens fifteen days after delivery (#14782).
- Use spam-safe characters for email preview padding, and decode HTML entities in the plain-text part (#14111, #14118).
Platform
- Key rate limits on the route path rather than the request host, and keep them on requests with an out-of-range
Content-Range(#14785, #14816). - Cap remote fetch size and rate limit avatar image and favicon requests (#14788).
- Reject CR, LF and NUL in header values (#14806).
- Resolve only registered param defaults as callables (#14792).
- Gate development-only routes on an explicit development environment (#14824).
- Never fall back to the platform database for a missing project in deletes (#14812).
- Report an unavailable cache as a 503 (#14863).
- Keep one copy of identical records in a DNS zone (#14371).
- Refuse CDN cache paths with dot segments (#14887).
- Check collector certificates on HTTPS OTLP exports, and serialize overlapping telemetry collects (#14865, #14732).
- Keep derived image crop sides at least one pixel (#14828).
- Set PHP precision to -1 so floats keep every digit (#14381).
- Make the PHP memory limit configurable with
_APP_MEMORY_LIMIT(#14522). - Tick the maintenance scheduler every second, start it on the next interval step, and release its claim on SIGTERM (#14734, #14885).
Under the hood
appwrite/base2.2.7 also updatesgit-remote-entirefor golang.org/x/net 0.61.0 (#14765).appwrite/browser0.3.8,appwrite/defender0.1.1 and ExifTool 0.1.1 (#14864, #14886).- The PostgreSQL container runs with
init, so orphaned health check processes no longer crash it (#14769). - Install generates the executor secret (#14770).
- 2.6.2 maps to migration V25, the same class as 2.6.1.
- Not in this release: the transaction
typeattribute (#14350), the MQTT topic instance ledger (#14867) and Orchestrator 4.0.0 (#14893). They need a schema change or a major dependency bump, so they wait for 2.7.0.
Removed
- The guests role no longer has
embeddings.write(#14755). - Messaging provider secrets and key/webhook secrets are no longer returned by the API (#14875, #14795, #14815).
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.6.2Upgrade
Back up your data first. Upgrading from 2.6.1 uses the same command with --entrypoint="upgrade". Then run the migration, which has nothing to change in this release:
cd appwrite
docker compose exec appwrite migrateCheck these before upgrading:
_APP_JOBS_SECRET: an empty value or the shipped placeholderyour-secret-keyis now refused, and function job callbacks fail.upgradegenerates a secret for you. If you manage.envyourself, set a random value;doctorwarns while it's insecure.- Private hosts: p...
1.9.10
Appwrite 1.9.10 is a security release for self-hosted deployments on the 1.9 line. It backports the hardening shipped in 2.6.2 across auth, API keys, databases, realtime, GraphQL, storage, VCS, functions, migrations and messaging, and moves the runtime to a patched Brotli. It keeps Console 8.7.37 for compatibility with the 1.9 server APIs. Upgrading from 1.9.9 reuses migration V25 and introduces no schema changes, but a few fixes tighten defaults, so read Upgrade first.
Highlights
- Brotli CVE-2026-111497.
appwrite/base1.4.6 requiresbrotli-libs1.2.1, which fixes an out-of-bounds write in the Brotli decoder (appwrite/docker-base#128, #14912). libcurl and the Swoole client decodebrresponses from URLs users control, such as avatar and favicon fetches, webhooks and migration sources. - API keys and JWTs stay within their grant, invalid keys are refused instead of running as a guest, and secrets stay write-only (#14910).
- Realtime and GraphQL follow the HTTP session and permission rules (#14913).
- Outbound connections stay on public addresses for SMTP, migration sources and certificate checks, with the new
_APP_ALLOWED_INTERNAL_ADDRESSESto allow an internal relay (#14911).
Fixes
- Auth and accounts: authenticate API keys before skipping Origin checks (#14910, backports #14352), allow admin mode only from console origins (#14813), clear email-bound tokens and invites when the email or phone changes (#14347, #14819), revoke prior credentials when OAuth links an unverified account (#14801), rate limit token sign-ins per account (#14880), compare MFA codes in constant time (#14762).
- Keys and users: hold keys and JWTs to their original grant (#14888), keep write-only secrets on their endpoint and bind ephemeral keys to their project and purpose (#14795, #14825), keep key and webhook secrets out of the 1.9.4 response format (#14815), hide credentials from impersonators (#14818), require
users.writeto read MFA recovery codes (#14872), bound imported password hash costs (#14825), gate development-only routes on_APP_ENV=development(#14824). - Databases: enforce permissions when staging transaction operations, and rate limit guest transaction writes (#14913, backports #14754, #14762), gate increment/decrement and fix upsert permissions (#14755), scope the list cache to collection permissions and gate inline encryption (#14791).
- Organizations and projects: accept only keys and console sessions on organization routes (#14779), evaluate project roles against the project in the path (#14787), require owner on both organizations to transfer a project (#14780).
- Realtime and GraphQL: require project access for admin mode connections (#14790), apply the HTTP session rules to realtime connections (#14803), send migration events only to project readers (#14805), validate presence messages like the HTTP endpoint (#14829), keep the caller's identity across GraphQL fields (#14820), cost invalid list limits at the complexity cap (#14821).
- Storage and platform: validate file names and build
Content-Dispositionper RFC 6266 (#14789), refuse reads of incomplete uploads (#14876), keep the platform default bucket private (#14814), cap avatar remote fetches and rate limit image and favicon requests (#14788), key rate limits on the route path and keep them on out-of-rangeContent-Range(#14785, #14816), drop client-named Swoole uploads and never call request values as code (#14909, backports #14897, #14792), strip control characters from webhook headers (#14806). - VCS, functions and sites: verify the GitHub webhook signature before fan-out, verify installation access, and sign and expire installation state (#14911, backports #14771, #14783, #14793), verify GitHub API certificates (#14802), confine repository root directories (#14808), bind branch preview rules to their project (#14786), validate reserved execution headers case-insensitively (#14185), keep session cookies and the fallback session header out of function and site requests (#14874, #14823).
- Migrations and messaging: keep migration, certificate check and SMTP connections on public addresses (#14794, #14870, #14811), validate NHost source hosts (#14798), check DocumentsDB and VectorsDB source key scopes (#14868), stop returning secret messaging provider credentials (#14875), require
files.readto attach files to emails (#14827), escape the redirect in email templates (#14822), never fall back to the platform database for a missing project (#14812).
Under the hood
- Fixes in vendored libraries that 1.9's dependency set can't update are applied in Appwrite's own code: the Swoole upload guard, request values never being called as code, and GitHub API certificate verification (#14909).
- Not backported, because the feature doesn't exist on 1.9: ID-token email policies (#14633), console realtime tails (#14797), the jobs callback secret (#14116), the onboarding hook (#14807) and multi-provider VCS events (#14800). #14778 was already the behaviour on 1.9.
- 1.9.10 maps to migration V25, the same class as 1.9.9.
Removed
No environment variables, collections or public APIs are removed. Secrets that were previously readable (messaging provider credentials, webhook passwords and key secrets for callers without the right grant) are no longer returned.
Install
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.9.10Upgrade
Back up your database and persistent storage first. From the parent directory of an existing 1.9.9 installation:
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:1.9.10
cd appwrite
docker compose exec appwrite migrateCheck these before upgrading:
-
Run the upgrade interactively as shown, or pass your current ports with
--http-portand--https-port: a non-interactive upgrade resets custom ports to 80/443 (also true of 1.9.9). -
New optional variable
_APP_ALLOWED_INTERNAL_ADDRESSES: project SMTP, messaging SMTP providers and migration sources on a private or reserved address must be listed here. -
Ephemeral keys minted before the upgrade are refused until reissued, and an invalid
X-Appwrite-Keynow returns401instead of running the request as a guest. -
Changing an SMTP host, port or
secureflag, or an OAuth provider endpoint, requires sending the secret again. -
Sites and functions whose stored root directory contains
..fail to build until the directory is changed to a path inside the repository. -
Mock routes and the time-travel task require
_APP_ENV=development.
Contributors
Thank you to everyone who contributed to 1.9.10:
@ChiragAgg5k @abnegate @Meldiron @ArnabChatterjee20k
Full Changelog: 1.9.9...1.9.10
2.6.1
Appwrite 2.6.1 is a precautionary maintenance release that moves the runtime to PHP 8.5.12. It ships with the same 1.2.97 self-hosted Console as 2.6.0, has no schema changes, and upgrading from 2.6.0 only replaces the images.
Security
- Update PHP from 8.5.11 to 8.5.12 through
appwrite/base2.2.6 (appwrite/docker-base#125). PHP 8.5.12 fixes CVE-2026-109618 and CVE-2026-109619 ("PHP2Shell"). Appwrite is not affected by either one: it serves requests through Swoole rather than PHP's web SAPIs (mod_php, PHP-FPM, CGI). This release keeps the runtime on the patched version anyway.
Install
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.6.1Upgrade
Upgrading from 2.6.0 uses the same command with --entrypoint="upgrade", then run the migration, which has nothing to change for this release:
cd appwrite
docker compose exec appwrite migrateBack up your data first.
Contributors
Thank you to everyone who contributed to 2.6.1:
Full Changelog: 2.6.0...2.6.1
2.6.0
Appwrite 2.6.0 brings image metadata controls, resource descriptions, database and storage fixes, and security updates to self-hosted deployments. It includes self-hosted Console 1.2.97, updated from 1.2.74. Back up your instance and run the migration after upgrading: this minor release includes schema updates.
Highlights
- Remove location, device, and capture-time metadata from new image uploads using the bucket's Image metadata setting. Color profiles and orientation are preserved; stripping is off by default, applies within the read-buffer size limit, and is unavailable through the S3-compatible API (#14351).
- Use resource descriptions through the API for databases, tables/collections, columns/attributes, indexes, buckets, functions, sites, variables, topics, and keys (#14471, #14595). This is an API addition; the pinned Console does not provide editors for every description field.
- Configure periodic password changes from the Console's Auth policies page, and use custom password deny lists through the project policy API (#14602, #14499).
- Refresh outbound TLS trust to reject the compromised eMudhra certificate chains; both the runtime base and independent Composer stage carry the fix (#14719).
- Upgrade to self-hosted Console 1.2.97, including the bucket metadata setting, password-rotation policy card, time-of-day selection in date ranges, and one-minute chart intervals for short windows.
Fixes
- API key security: hide key secrets unless the caller's effective scopes include
keys.write(#14600, #14603). - Auth and redirects: correct redirect authority parsing and show password-breach UI only when a password is compromised (#14348; bundled Console update).
- Databases: correct joined document IDs, join aliases, aggregate result shapes, legacy response formats, filtered totals, 64-bit validation, numeric-bound errors, relationship variables, and deleted-column errors (#14535, #14594, #14537, #14543, #14536, #14551, #14584, #14582, #14542, #14376).
- Transactions and updates: handle deletes in the same transaction batch, include staged writes in list results, and fix bulk updates of unique fields (#14578, #14590, #14575).
- Memberships: fix membership cursor pagination and support querying the caller's memberships (#14579, #14495).
- Storage uploads: validate chunked-upload totals; avoid an extra native storage read when finalizing files; refresh upload metadata after stripping attempts; and improve upload/list performance (#14514, #14707).
- Storage downloads and S3: stream native and S3 responses without buffering entire files; preserve range headers and the captured object version; fix single-part and selected-part multipart completion; delete prefixed buckets correctly; and support explicit path-style configuration for custom S3 endpoints (#14615, #14605, #14607, #14601, #14703, #14628).
- Migrations: complete upgrades from 2.5.0 and preserve resource descriptions and bucket image-metadata settings when transferring projects (#14737).
- Project deletion: remove a deleted project's stored data (#14626).
- Deployments: redeploy through the resource's current Git installation and preserve custom domains during retention cleanup (#14666, #14663).
- Functions: add Drizzle/Dodo Payments templates, persist synchronous executions correctly, and keep template pushes working on existing branches (#14665, #14652, #14549).
- Messaging: correct APNs target/provider routing and legacy bundle-ID handling, bound messaging memory, retry transient SMTP failures, and handle permanent/custom SMTP refusals (#14589, #14592, #14438, #14544, #14545, #14609).
- MQTT and realtime: enforce topic subscription and presence ownership permissions; stop sending to topic IDs incorrectly; revoke blocked users; and repair replay cursor, expiry, connection counting, and relationship payload behavior (#14460, #14396, #14580, #14411, #14412, #14410, #14606, #14349).
- Cache and usage: surface unavailable caches and failed writes, retry failed usage work, fix usage attribute/column setup, and avoid unnecessary usage-index realignment (#14642, #14641, #14638, #14553, #14636, #14561, #14591).
- Audit and webhooks: reduce queued audit payloads, keep audit cursor ordering stable, and record deliveries for unpublished webhooks (#14509, #14635, #14558).
- Console: fix
users/verifiedpermission roles, nullable model fields, Sites create links, loader version labels, guest join loops, and empty project-card sparklines; remove the broken datacenter firewall preset (#14662, #14693, #14694, #14696, #14547, #14646, #14504; bundled Console update). - Installer and local services: give PostgreSQL sufficient shared memory and pass the server version to the Console in generated Compose files (#14451, #14547).
Under the hood
- Update the runtime base to 2.2.5, the database library to 8.3.12, the bundled PHP SDK to 32.0.0, and the orchestrator to 2.2.4 (#14719, #14723, #14706, #14737).
- Add relationship query support and raw-email messaging recipients through the API (#14502, #12675). The pinned Console does not expose every new API option.
- Run inactive-project maintenance on a separate schedule, spreading work across slices and deferring it behind the deletes backlog. Configure the cadence with
_APP_MAINTENANCE_INACTIVE_INTERVAL(default: seven days); scheduler and workers share_APP_MAINTENANCE_QUEUE_NAME(default:v1-maintenance) (#14695). - Centralize deployment-retention policy and add a realtime worker-exit hook (#14685, #14705).
- Carry queue reliability and memory fixes, including orphaned Redis claim recovery and leaner job payloads (#14481, #14477, #14689).
- Use the migration library now bundled in this repository and enforce SDK parameter ordering in generation (#14503, #14469, #14467).
Removed
- Remove the broken datacenter firewall deny preset (#14504).
- No environment variables are removed by this release.
Install
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:2.6.0Upgrade
Back up your database and persistent storage, and test the upgrade on a copy first. From the parent directory of your existing installation, run:
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:2.6.0
cd appwrite
docker compose exec appwrite migrateRun the migration even when upgrading from 2.5.0. The updated V25 migration adds the resource-description and bucket stripMetadata fields and repairs presence-log schema. Reusing the class name does not mean there are no schema changes.
The installer supplies the ExifTool service for image metadata stripping. Custom deployments must set _APP_EXIFTOOL_HOST to a reachable ExifTool service before enabling the bucket setting. If the host is empty, the service is unreachable, or stripping returns an error, Appwrite stores the original upload with its metadata intact, even when stripping is enabled. Monitor the ExifTool service before relying on this setting to remove private metadata. Existing files are not rewritten.
For custom S3-compatible endpoints, _APP_STORAGE_S3_PATH_STYLE can force path-style requests (enabled) or bucket-addressing endpoints (disabled); an empty value infers the style. For a custom domain/CNAME pointing directly at a bucket, set it to disabled.
Outbound HTTPS endpoints presenting a compromised certificate chain must replace their certificate chain. TLS verification stays enabled.
Contributors
Thank you to @ChiragAgg5k and everyone who contributed to Appwrite 2.6.0 and the bundled Console releases.
Full Changelog: 2.5.0...2.6.0
1.9.9
Appwrite 1.9.9 is a precautionary maintenance release for self-hosted deployments on the 1.9 line. It moves the runtime to PHP 8.5.12. It retains Console 8.7.37 for compatibility with the 1.9 server APIs. Upgrading from 1.9.8 keeps the existing migration class and introduces no schema changes.
Highlights
- Update PHP to 8.5.12. PHP 8.5.12 fixes CVE-2026-109618 and CVE-2026-109619 ("PHP2Shell"). Appwrite is not affected by either one: it serves requests through Swoole rather than PHP's web SAPIs (mod_php, PHP-FPM, CGI). This release keeps the runtime on the patched version anyway.
Fixes
- Runtime: update the base image to
appwrite/base:1.4.5, which ships PHP 8.5.12 (appwrite/docker-base#126, #14747).
Under the hood
- The new base image also includes the hardened ImageMagick resource policy from
appwrite/base:1.4.4. - Map 1.9.9 to migration V25, the same class as 1.9.8; no migration class is added.
Removed
No environment variables, collections, or public APIs are removed.
Install
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.9.9Upgrade
Back up your database and persistent storage before upgrading. From the parent directory of an existing 1.9.8 installation, run:
docker run -it --rm \
--publish 20080:20080 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="upgrade" \
appwrite/appwrite:1.9.9
cd appwrite
docker compose exec appwrite migrateThe patch reuses migration V25. No new configuration is required.
Full Changelog: 1.9.8...1.9.9