CVE-2026-134291 SurrealDB 3.0.0 before 4.0.0 Path Traversal via Filesystem Bucket Symlinks

Published Updated

Attackers can use symlinks in SurrealDB's filesystem bucket to read and write files on the host filesystem.

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
Proof of concept
1 on GitHub, unverified
Fix
Available
4.0.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134291?

CVE-2026-134291 is a high-severity path traversal vulnerability in surrealdb, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its filesystem storage bucket that only canonicalizes the bucket root, not descendant symlinks. Attackers can reference paths through a pre-existing symlink inside the bucket that pass the lexical prefix check, reading and writing files across the host filesystem.

Weakness: CWE-59

How severe is CVE-2026-134291?

CVE-2026-134291 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
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-134291?

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

An affected version is exposed as installed. No special setting or call is needed.

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

How do I fix CVE-2026-134291?

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-134291 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-7pqw-x84x-frxc, GHSA-g48r-q9wv-qhhm.

Is CVE-2026-134291 in your software?

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

Check your SBOMs for free