Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134295: high-severity vulnerability (CVSS 8.7) in surrealdb surrealdb.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
surrealdb surrealdb >= 3.0.0, < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | >= 3.0.0, < 4.0.0 | — |
| surrealdb surrealdb | 4.0.0 | 4.0.0 |
Action recommended by the source
Upgrade to a fixed version: 4.0.0.
Fixed in: 4.0.0
Sources and references
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-cph5-pm57-9w9c — CVE Program
- https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-path-traversal-in-direct-filesystem-buckets — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.