Appwrite 1.4.0 before 1.9.10 and 2.6.0 before 2.6.2 Path Traversal via providerRootDirectory Parameter
- CVE-2026-144464
- GHSA-395x-vcfv-5hmf
- EUVD-2026-143800
Description
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.
Text from the CVE.org record.
Recommendation
appwrite
- If you run 2.6.xupdate to 2.6.2 or laterPatch update: breaking changes are unlikely
- If you run a version from 1.4.0 to before 1.9.10update to 1.9.10 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
appwrite
Affected versions Fixed in from 2.6.0 to before 2.6.2 2.6.2 from 1.4.0 to before 1.9.10 1.9.10
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.