Skip to main content

SurrealDB EUVDEUVD-2026-132237

| CVE-2026-134294 HIGH
Path Traversal (CWE-22)
2026-11-21 VulnCheck GHSA-v5r5-h44j-cj82
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SurrealDB bucket API on Windows host
  2. Delivery
    Submit object key /..\bucket2\secret
  3. Exploit
    Bypass check_no_traversal forward-slash-only validation
  4. Execution
    FileStore::to_os_path resolves backslashes as directories
  5. Impact
    Read or modify files in other buckets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a SurrealDB deployment running on a Windows host (the backslash-as-separator behavior of FileStore::to_os_path is what the forward-slash-only check fails to catch) using the filesystem bucket storage backend, in an affected version 3.0.0 up to but not including 4.0.0, plus the ability to submit attacker-controlled object keys to the bucket API. Key limiting factors: non-Windows (Linux/macOS) installations are not vulnerable; version 4.0.0 and later are fixed; and exploitation depends on an interface that accepts object keys - whether that interface demands authentication is not confirmed from the available sources.

Impact

Signals point to a real but bounded priority rather than an emergency. The input CVSS 4.0 score is 8.7 (High) with vector AV:N/AC:L/AT:N/PR:N/UI:N, and the vuln.today decision label is 'this_week' - prioritize within days, not act_now/emergency. No EPSS score is provided (missing data), and there is no CISA KEV listing and no confirmed public exploit, so there is no evidence of active exploitation; this is a disclosed, patched flaw reported by VulnCheck with a detailed vendor (GHSA) advisory. The strongest limiting factor is platform: the bug exists ONLY on Windows hosts, because the bypass depends on Windows treating backslashes as directory separators while check_no_traversal splits only on '/'; non-Windows deployments are not affected, which materially narrows real-world exposure below what an AV:N/PR:N score alone implies. One conflict to note: the supplied 4.0 vector sets VI:N (no integrity impact), yet the description and advisory explicitly state attackers can 'read or modify' cross-bucket files - the integrity metric appears understated and should be treated as High for prioritization.

Exploit ScenarioDerived

On a Windows-hosted SurrealDB (3.0.0 up to but not including 4.0.0) using the filesystem bucket store, an attacker who can submit object keys to the bucket API supplies a key like /..\bucket2\secret. The forward-slash-only traversal check passes it, but FileStore::to_os_path resolves the backslashes as directory separators, letting the attacker read or modify files belonging to other buckets. No confirmed public exploit code is identified at time of analysis; the mechanism is fully described in the vendor GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Cross-bucket file disclosure and modification on Windows affects SurrealDB versions 3.0.0 up to but not including 4.0.0 when the filesystem bucket storage backend is in use: an object key such as /..\bucket2\secret passes the traversal check and is then resolved by the OS as a directory traversal, letting an attacker read or alter files belonging to other buckets. The vendor advisory scores the issue at CVSS 8.7 (CVSS 4.0, PR:N, confidentiality-only in that vector) while our assessment applies CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N; exposure is bounded to Windows-hosted, affected-version deployments, and no CISA KEV entry or public exploit was identified at time of analysis. Priority is this_week rather than an emergency given the platform restriction and the availability of a fixed release.

RemediationAI

Vendor-released patch: SurrealDB 4.0.0 - upgrade to 4.0.0 or later, which incorporates commit 5edf982bf0 that treats a backslash as a path separator when checking bucket keys for traversal and closes the bypass (the same change also covers symlink and direct-bucket key traversal variants, so partial key filtering alone is not equivalent). Refer to https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6c37-x4jm-529x for the authoritative advisory. If an immediate upgrade is not possible, the exposure is limited to Windows deployments using the filesystem bucket backend in versions below 4.0.0, so relocating the bucket store to a Linux or macOS host removes the vulnerable code path, at the cost of platform migration effort; alternatively, restrict which clients and roles are permitted to submit arbitrary object keys to the bucket API, accepting that legitimate bucket workflows relying on caller-chosen key prefixes may need to be curtailed. Note that whether the object-key-accepting interface requires authentication is not confirmed from the available sources, although the supplied CVSS vectors (CVSS 4.0 and our assessed CVSS 3.1) both score PR:N.

Affected VersionsENISA

surrealdb 3.0.0 <4.0.0

Affected Packages

euvd surrealdb fix: 4.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SurrealDB's bucket storage abstraction converts user-supplied object keys into filesystem paths. In surrealdb/core/src/buc/store/path.rs, ObjectKey::check_no_traversal validated keys by splitting exclusively on the forward slash ('/'), so only '/' segments were inspected for '..'. On Windows, FileStore::to_os_path (surrealdb/core/src/buc/store/file.rs) resolves the key using the operating system's path separator, where a backslash also denotes directory hierarchy - a mismatch that is the root cause. A key of the form /..\bucket2\secret therefore carries no '..' component from the validator's point of view yet is interpreted as a parent-directory traversal when the OS resolves the path, yielding cross-bucket reads and writes. This is a classic CWE-22 path traversal, here realized as a canonicalization/separator-parsing inconsistency rather than a missing check. The flaw is Windows-specific: Linux and macOS deployments do not inherit the backslash-as-separator semantics and are described as not vulnerable. The affects list is captured as cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* for versions below 4.0.0; the fix commit (5edf982bf0) treats a backslash as a path separator during key validation and, per its message, also addresses filesystem bucket path traversal via symlinks and direct-bucket keys.

Know when Surrealdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 9.1 CRITICAL

Network-reachable bucket API, low complexity, no user interaction; both read and modify are described so C:H and I:H; PR:N follows the input vector but authentication is unconfirmed and could be PR:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:35 cve.org
HIGH 8.7

DescriptionCVE.org

SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in its bucket storage layer on Windows, where ObjectKey::check_no_traversal splits object keys only on forward slashes while FileStore::to_os_path treats backslashes as directory separators. Attackers can supply object keys such as /..\bucket2\secret to bypass the traversal check and read or modify files in other buckets.

Technical POC Analysis

CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SurrealDB versions 3.0.0 through 3.x on Windows with filesystem bucket storage are exposed to a high-severity cross-bucket file disclosure and modification flaw (CVE-2026-134294). An unauthenticated remote attacker could read or alter files in other buckets, potentially compromising data confidentiality and integrity. Leadership should prioritize remediation this week given the Windows-specific exposure and the availability of a fixed release (4.0.0).

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting network access to SurrealDB instances, disabling or avoiding the filesystem bucket storage backend, and monitoring for anomalous cross-bucket file access.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
emerging multi-model database, modest production use, Windows-only narrows footprint further
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-71392 CRITICAL
9.4 Jul 18

Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica

CVE-2026-134292 CRITICAL
9.3 Nov 21

SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed

CVE-2026-63756 CRITICAL
9.2 Jul 20

Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act

CVE-2026-134293 HIGH
8.8 Nov 21

SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow

CVE-2026-121417 HIGH
8.8 Nov 03

Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a

CVE-2026-63760 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web

CVE-2026-63747 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi

CVE-2026-63757 HIGH
8.7 Jul 20

Session hijacking in SurrealDB before 3.1.0 lets unauthenticated attackers enumerate attached session UUIDs through the

CVE-2026-134291 HIGH
8.7 Nov 21

Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read

CVE-2026-134295 HIGH
8.7 Nov 21

Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an

CVE-2026-134299 HIGH
8.7 Nov 21

Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo

CVE-2026-134309 HIGH
8.7 Nov 21

SurrealDB 1.0.0 through 3.x lets an authenticated user with only the database-level VIEWER role read, modify, and delete

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy