CVE-2026-134295 SurrealDB 3.0.0 before 4.0.0 Path Traversal in Direct Filesystem Buckets
HighCVSS 8.7
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
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-cph5-pm57-9w9c) vendor-advisory
- VulnCheck Advisory: SurrealDB 3.0.0 before 4.0.0 Path Traversal in Direct Filesystem Buckets third-party-advisory
- ENISA EUVD EUVD-2026-132238 third-party-advisory
- nvd.nist.gov