CVE Watchtower

CVE-2026-134295surrealdb Path Traversal

NVD

Vulnerability Summary

SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in direct filesystem buckets because BucketController::check_permission evaluates key-based ACLs against the un-normalized object key, while FileStore::to_os_path collapses '..' sequences without a traversal check. An authenticated tenant permitted only for certain keys can supply a key such as /public/../private/confidential.txt to read, write, or delete arbitrary files within the storage root.
Severity Level
HIGH(8.7)
Published Date
Nov 21, 2026
Last Modified
Nov 21, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.71%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.8)
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • surrealdb >= 3.0.0 and < 4.0.0
Patched Versions
  • surrealdb 4.0.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run surrealdb and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 21, 2026Published
  • Nov 21, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new surrealdb CVEsYou are reading CVE-2026-134295. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More surrealdb CVEs

Data last checked: Nov 22, 2026 16:06 UTC