See how appwrite compares to other vendors in security performance
Appwrite 1.4.0 before 1.9.10 and 2.6.0 before 2.6.2 contains a path traversal vulnerability in the builds worker (src/Appwrite/Platform/Modules/Functions/Workers/Builds.php in current releases), which sanitizes the providerRootDirectory of a function or site only by stripping leading '.' and '/' characters with ltrim() and then appends it to the repository checkout path to choose the directory packaged into the deployment, so '..' segments survive. Authenticated users who can create or update functions or sites, for example with the functions.write or sites.write scope, can set providerRootDirectory on a Git-connected function or site to a value such as ../../../../../etc so that the builds worker packages a directory outside the checkout, then download the deployment to read files from the builds worker container, including other projects' deployments and builds on the storage volumes it mounts. In 2.6.0 and 2.6.1 only functions and sites connected through the Entire Git provider are affected.
Prototype Pollution in litespeed.js and appwrite/server-ce
A weakness has been identified in Appwrite up to 2.3.0. This vulnerability affects the function PublicHostname of the file src/Appwrite/Platform/Modules/Avatars/Http/Screenshots/Get.php of the component Browser Screenshot Service. This manipulation of the argument url causes server-side request forgery. The attack can be initiated remotely. Upgrading to version 2.4.0 is able to resolve this issue. Patch name: 393255e7302ae5503331d45802e2eee01c6a47fe. You should upgrade the affected component.
The github-issue-bot templates in appwrite/templates verify the GitHub webhook signature with an inverted condition. verifyWebhook in node/github-issue-bot/src/github.js and in node-typescript/github-issue-bot/src/github.ts returns "typeof signature !== 'string' || (await verify(...))", so when the X-Hub-Signature-256 header is absent the first operand is true, the logical OR short-circuits, and the function reports success without performing any HMAC verification. main.js rejects a request only when verifyWebhook returns false, so an unauthenticated request carrying no signature passes the check. Processing then continues to postComment, which takes the repository and issue objects directly from the request body, letting the caller direct the deployed function to post a comment on a repository and issue of their choosing using the configured GITHUBTOKEN, with the issue author login from the body interpolated into the comment text.
Appwrite Server-Side Request Forgery vulnerability
Appwrite <= v1.4.13 is affected by a Server-Side Request Forgery (SSRF) via the '/v1/avatars/favicon' endpoint due to an incomplete fix of CVE-2023-27159.
Appwrite is vulnerable to stored cross-site scripting in usernames, function names, storage bucket names, and database collection names.
Appwrite Directory Traversal vulnerability
In Appwrite CLI before 3.0.0, when using the login command, the credentials of the Appwrite user are stored in a ~/.appwrite/prefs.json file with 0644 as UNIX permissions. Any user of the local system can access those credentials.