Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SurrealDB bucket API on Windows host
-
DeliverySubmit object key /..\bucket2\secret
-
ExploitBypass check_no_traversal forward-slash-only validation
-
ExecutionFileStore::to_os_path resolves backslashes as directories
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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).
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica
SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed
Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act
SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow
Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a
Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web
Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi
Session hijacking in SurrealDB before 3.1.0 lets unauthenticated attackers enumerate attached session UUIDs through the
Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read
Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an
Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo
SurrealDB 1.0.0 through 3.x lets an authenticated user with only the database-level VIEWER role read, modify, and delete
EUVD-2026-132237
GHSA-v5r5-h44j-cj82
NVD
CVE.org
EPSS
Exploit-DB