NetSight
high8.7

CVE-2026-134294

SurrealDB 3.0.0 before 4.0.0 Path Traversal via Windows Backslashes in Bucket Keys

Impact

SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its bucket storage layer on Windows, where ObjectKey::check_no_traversal splits object keys only on forward slashes while FileStore::to_os_path treats backslashes as directory separators. Attackers can supply object keys such as /..\bucket2\secret to bypass the traversal check and read or modify files in other buckets.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.

Affected products · Surrealdb

ProductAffected versions
Surrealdb
from 3.0.0 before 4.0.0

Weakness classification

References