Intel

AIKIDO-2026-852587

node-appwrite is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 6 days ago

59

Medium Risk

This Affects:

JSnode-appwrite
1.0.0 - 26.2.0
Fixed in 27.0.0
Are you affected? Scan for Free

TL;DR

The Appwrite Node.js SDK builds REST endpoint paths by substituting caller-supplied identifiers directly into URL templates. Before the fix these identifiers were inserted without URL-encoding, so values containing reserved characters such as slashes or .. segments changed the structure of the resulting request path. An application that forwards untrusted or unvalidated identifiers into SDK service methods could therefore have its requests redirected to unintended API paths or resources. The fix wraps path parameters in encodeURIComponent before substituting them into the endpoint path.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted or unvalidated identifiers into SDK method calls.

Background info

node-appwrite is vulnerable to Path Traversal in versions 1.0.0 - 26.2.0.

How to fix this

Upgrade the node-appwrite library to the patch version.