← VULNERABILITIES

CVE-2026-134294

SurrealDB 3.0.0 before 4.0.0 Path Traversal via Windows Backslashes in Bucket Keys

High · 8.7Fix available
CVSS
8.7
EPSS
0.66% (p46)
Published
2026-11-21
Age
8d old
Modified
2026-11-23
Product
surrealdb surrealdb
Aliases
GHSA-6c37-x4jm-529x

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

Description

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.

Fixed in

4.0.0

Affected packages

EcosystemPackageRangeFixed
vendorsurrealdb>=3.0.0, <4.0.04.0.0

Sources

  • NVD · first seen 8d ago · NVD terms of use
  • OSV · first seen 8d ago · CC-BY 4.0
  • CVE List · first seen 8d ago · CVE Terms of Use

References

JSON