CVE-2026-134295 SurrealDB 3.0.0 before 4.0.0 Path Traversal in Direct Filesystem Buckets

Published Updated

Authenticated tenants restricted to certain keys can read, write or delete arbitrary files in SurrealDB direct filesystem buckets.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134295?

CVE-2026-134295 is a high-severity path traversal vulnerability in surrealdb, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-22

How severe is CVE-2026-134295?

CVE-2026-134295 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134295?

1 open source package ship an affected version, including surrealdb.

Only installations with a non-default setting turned on are exposed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 3.0.04.0.0

How do I fix CVE-2026-134295?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-134295 being exploited?

There is no known exploitation of CVE-2026-134295 in the wild and no public exploit code.

Sources

Also known as GHSA-cph5-pm57-9w9c, GHSA-mm4j-wgqm-p565.

Is CVE-2026-134295 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free