Path traversal in SurrealDB direct filesystem buckets
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
SurrealDB from 3.0.0 before 4.0.0 contains a path traversal flaw (CWE-22) in direct filesystem buckets. Access checks evaluate the object key before it is normalized, while the path conversion collapses '..' sequences without a traversal check. An authenticated tenant with access to only certain keys can supply a crafted key to read, write, or delete arbitrary files within the storage root.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
SurrealDB 4.0.0 fixes this flaw, so update affected installations to version 4.0.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
- Fix · CNA surrealdb (surrealdb) Fixed in 4.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
surrealdb 4.0.0
16 records Highest priority Priority HIGH 1 HIGH, 9 MEDIUM, 6 LOW
Other records, highest priority first
- TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket UpgradePriority HIGH 77
- TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the serverPriority MEDIUM 64
- TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errorsPriority MEDIUM 64
Timeline
- 2026-11-21 Threatist record created from CVE-2026-134295
- 2026-11-21 Alias added: GHSA-mm4j-wgqm-p565
- 2026-11-25 EPSS moved to the below the 50th percentile
References
More surrealdb vulnerabilities
- TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket Upgrade CVSS 4.0HIGH 8.7
- TI-2026-84301 MCP session hijack in SurrealDB via BoundSubject collision CVSS 4.0HIGH 8.6
- TI-2026-96306 Out-of-bounds read in SurrealKV InternalKeyRef decoder CVSS 4.0HIGH 8.3
- TI-2026-96310 Authorization bypass in SurrealDB via COMPUTED field permissions CVSS 4.0HIGH 7.1
- TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the server CVSS 4.0HIGH 7.1
- TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errors CVSS 4.0HIGH 7.1
Sources
- CVE-2026-134295 · CVE Program
- CVE-2026-134295 · NVD
- FIRST EPSS
- GHSA-mm4j-wgqm-p565 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences