SurrealDB: Path traversal allows file access
HighAI-generated2026-11-23
- CVE
- CVE-2026-134294
- Severity
- High (CVSS 7.5)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- Exploitation probability (EPSS)
- 0.6% (within 30 days; FIRST EPSS, 27 November 2026)
Summary
SurrealDB versions from 3.0.0 up to but not including 4.0.0 on Windows have a path-traversal flaw in the bucket storage layer. An attacker can craft object keys to read or modify files in other buckets.
Details
According to the NVD record, SurrealDB 3.0.0 through versions prior to 4.0.0 on Windows contains a path-traversal issue in its bucket storage component. The check that validates object keys only looks for forward slashes, while the file-system conversion treats backslashes as directory separators.
An attacker can supply specially crafted keys such as "/..\\bucket2\\secret" to bypass the validation and gain access to files outside the intended bucket. This can lead to unauthorized reading or modification of data stored in other buckets.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 21 November 2026 NVD record published
- 23 November 2026 This article was written