Skip to content

CVE-2026-134294 SurrealDB 3.0.0 before 4.0.0 Path Traversal via Windows Backslashes in Bucket Keys

HighCVSS 8.7 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io surrealdb >= 3.0.0, < 4.0.0 4.0.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb >= 3.0.0, < 4.0.0 4.0.0

References