What’s Vulnerable › Vulnerabilities
CVE-2026-89036: Appwrite < 2.0.0 Argument Injection via providerRootDirectory Parameter
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-17 · updated 2026-09-22
- Weakness: CWE-88
Description
Appwrite before 2.0.0 contains an argument injection vulnerability that allows authenticated users with functions.write or sites.write permissions to execute arbitrary commands by injecting TAB characters into the providerRootDirectory parameter used to construct GNU tar commands. The application uses escapeshellcmd instead of escapeshellarg and fails to quote the parameter, allowing TAB characters to survive sanitization and be interpreted as argument separators, enabling injection of arbitrary GNU tar arguments such as --checkpoint-action=exec to achieve remote code execution as the builds worker process user.
Affected products
- appwrite/appwrite: before 2.0.0 — fixed in 2.0.0
How to fix
Upgrade to a fixed version: appwrite/appwrite 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/appwrite/appwrite/commit/a82dc6e386a6ac7b88e853a1e6fdb59e0b79ddca
- https://github.com/appwrite/appwrite/pull/13028
- https://github.com/appwrite/appwrite/releases#release-2.0.0
- https://www.vulncheck.com/advisories/appwrite-argument-injection-via-providerrootdirectory-parameter
Get alerted when CVE-2026-89036 or the next vulnerability affects your stack