Path Traversal Vulnerability in SurrealDB Affects Data Integrity
CVE-2026-134295
8.7HIGH
What is CVE-2026-134295?
SurrealDB versions prior to 4.0.0 exhibit a path traversal vulnerability in their direct filesystem buckets. This flaw arises from the BucketController's permission checks, which evaluate key-based ACLs on un-normalized object keys. Consequently, the FileStore::to_os_path function overlooks traversal checks when collapsing '..' sequences. As a result, an authenticated user with limited access rights can manipulate keys to access sensitive files within the storage root, compromising data confidentiality and integrity. It's crucial for users to update to the latest version to mitigate this vulnerability.
Affected Version(s)
surrealdb 3.0.0 < 4.0.0
surrealdb 4.0.0
