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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 3.0.0, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 3.0.0, < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-6c37-x4jm-529x) vendor-advisory
- VulnCheck Advisory: SurrealDB 3.0.0 before 4.0.0 Path Traversal via Windows Backslashes in Bucket Keys third-party-advisory
- ENISA EUVD EUVD-2026-132237 third-party-advisory
- nvd.nist.gov