CVE-2026-144464: Appwrite 1.4.0 before 1.9.10 and 2.6.0 before 2.6.2 Path Traversal via providerRootDirectory Parameter
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.9.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.6.2
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An authenticated user must be able to create or update functions or sites and set their providerRootDirectory. This includes users with permissions such as the functions.write or sites.write scope.
Which Git-connected resources are affected in the 2.6.x release line?
In versions 2.6.0 and 2.6.1, the issue affects only functions and sites connected through the Entire Git provider.
What could an attacker access through a successful exploit?
The attacker can cause the builds worker to package a directory outside the repository checkout and download that deployment. This can expose files available in the builds worker container, including other projects' deployments and builds on mounted storage volumes.
How can I determine whether an environment is at risk?
Review Git-connected functions and sites for providerRootDirectory values containing traversal segments such as '..', particularly values that resolve outside the intended repository checkout. Also identify users who have function or site write permissions and can modify this setting.
What can be done if an upgrade is not immediately possible?
Restrict who can create or update Git-connected functions and sites, especially users with functions.write or sites.write permissions. Review and prevent providerRootDirectory values containing '..' segments until the affected deployment is updated.