SurrealDB
SurrealDB 3.0.0 before 4.0.0 Path Traversal via Filesystem Bucket Symlinks
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade surrealdb to 4.0.0 or later.
References
- Vendor advisory github.com/surrealdb/surrealdb/security/adviso…
Timeline
Days relative to CVE publicationFirst public PoC 3 days after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-134291 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cveForge/CVE-2026-134291 | 24 Nov 2026 +3 d | 24 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /sql
- Key headers
Accept: application/jsonAuthorization: Bearer {var}Db: testNs: test- Content-Type
application/json- Ports
- 8000
- Seen in
- 1 repo: cveForge/CVE-2026-134291
- Evidence
- cveForge/CVE-2026-134291/poc.py:31
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/sql(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-134291 surrealdb surrealdb exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/sql"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Db: test"; nocase; http.header; content:"Ns: test"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-134291; classtype:web-application-attack; sid:9087042; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: surrealdb surrealdb exploit attempt (CVE-2026-134291)
id: gg-pocmon-cve-2026-134291-9087042
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-134291. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-134291
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/sql'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.134291