CVE-2026-134291
Deferred Deferred - Pending Action

SurrealDB Path Traversal via Uncanonicalized Symlinks

Vulnerability report for CVE-2026-134291, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
surrealdb surrealdb to 4.0.0 (exc)
surrealdb surrealdb From 3.0.0 (inc) to 3.9.9 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

SurrealDB 3.0.0 before 4.0.0 has a path traversal flaw in its filesystem storage bucket. The system only checks the bucket root path but not symlinks inside it. Attackers can use pre-existing symlinks to bypass security and access files outside the intended bucket directory.

Detection Guidance

Check SurrealDB version with 'surreal version'. If version is below 4.0.0, the system is vulnerable. Inspect filesystem storage bucket paths for symlinks using 'ls -la' in the bucket directory. Monitor for unauthorized file access attempts in system logs.

Impact Analysis

This vulnerability allows attackers to read or write arbitrary files on the host system where SurrealDB is running. If exploited, sensitive data could be exposed or modified, potentially leading to system compromise or data loss.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles or HIPAA's security requirements for protected health information. Organizations may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Upgrade SurrealDB to version 4.0.0 or later immediately. If upgrading is not possible, restrict filesystem bucket access permissions and disable symlink resolution in the bucket configuration. Review and remove any suspicious symlinks in the bucket directory.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134291. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...