SurrealDB Path Traversal via Filesystem Bucket Symlinks
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-59 and the CVSS impact.
Summary
SurrealDB from 3.0.0 before 4.0.0 contains a path traversal flaw in its filesystem storage bucket. The bucket root is canonicalized, but symlinks inside the bucket are not, so a pre-existing symlink can pass the path prefix check. An unauthenticated remote attacker can read and write files across the host filesystem, with high confidentiality impact. The weakness is classified as CWE-59.
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 its filesystem storage bucket that only canonicalizes the bucket root, not descendant symlinks. Attackers can reference paths through a pre-existing symlink inside the bucket that pass the lexical prefix check, reading and writing files across the host filesystem.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade SurrealDB to version 4.0.0 or later, which fixes this issue. Versions from 3.0.0 before 4.0.0 are affected.
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-134291
- 2026-11-21 Alias added: GHSA-g48r-q9wv-qhhm
- 2026-11-25 CISA SSVC decision points changed
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-134291 · CVE Program
- CVE-2026-134291 · NVD
- FIRST EPSS
- GHSA-g48r-q9wv-qhhm · 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