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.