CVE-2026-134295
SurrealDB 3.0.0 before 4.0.0 Path Traversal in Direct Filesystem Buckets
Impact
SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in direct filesystem buckets because BucketController::check_permission evaluates key-based ACLs against the un-normalized object key, while FileStore::to_os_path collapses '..' sequences without a traversal check. An authenticated tenant permitted only for certain keys can supply a key such as /public/../private/confidential.txt to read, write, or delete arbitrary files within the storage root.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Surrealdb
| Product | Affected versions |
|---|---|
| Surrealdb | from 3.0.0 before 4.0.0 |