SurrealDB: read, write or delete arbitrary files
HighAI-generated2026-11-22
- CVE
- CVE-2026-134295
- Severity
- High (CVSS 8.8)
- Attack conditions
- Remotely, over the network · A regular user account is needed · No user action needed
- Exploitation probability (EPSS)
- 0.5% (within 30 days; FIRST EPSS, 25 November 2026)
Summary
SurrealDB versions from 3.0.0 up to but not including 4.0.0 have a path traversal flaw that lets an authenticated user access files outside the intended directory.
Details
According to the NVD record, SurrealDB 3.0.0 through 3.x releases prior to 4.0.0 contain a path traversal vulnerability in its direct filesystem bucket handling. The flaw occurs because the system checks permissions against an un-normalized file key while later converting the key to a system path that removes ".." sequences without verifying the traversal.
An attacker who is authenticated as a tenant with limited key permissions can craft a specially crafted key such as "/public/../private/confidential.txt". This allows the attacker to read, modify, or delete any file within the storage root, potentially exposing sensitive data or disrupting service.
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
- 22 November 2026 This article was written