What’s Vulnerable › Vulnerabilities

CVE-2026-89036: Appwrite < 2.0.0 Argument Injection via providerRootDirectory Parameter

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

How to fix

Upgrade to a fixed version: appwrite/appwrite 2.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89036 or the next vulnerability affects your stack