SurrealDB before 3.1.0 Permission Bypass via WHERE Clause
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
SurrealDB before 3.1.0 evaluates user-supplied WHERE clauses in SELECT statements (and SET/MERGE/CONTENT/PATCH clauses in UPDATE, UPSERT, INSERT ON DUPLICATE KEY UPDATE, and RELATE update-variant statements) against full record data before enforcing PERMISSIONS FOR SELECT WHERE restrictions. An authenticated user — including Record and Scope users — can exploit this ordering flaw to read the full contents of any table in the database they are authenticated against, bypassing table-level permission checks. Exfiltration is most direct when scripting functions are enabled (--allow-scripting), but is also possible via SurrealQL's THROW statement and timing-based side channels without scripting. The vulnerability is confined to the attacker's current database and does not cross namespace or database isolation boundaries.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| surrealdb | surrealdb | before 3.1.0 | 3.1.0 | Patch available | CNA |
| — | surrealdb (crates.io) | before 3.1.0 | 3.1.0 | Patch available | GHSA-98fx-66cf-fc7c |
- surrealdb Vendorsurrealdb Affected before 3.1.0 Fixed in 3.1.0 Patch available CNA
- surrealdb (crates.io) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-98fx-66cf-fc7c
Remediation
- Fix · CNA surrealdb (surrealdb) Fixed in 3.1.0
- Fix · GHSA-98fx-66cf-fc7c surrealdb (crates.io) Fixed in 3.1.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
surrealdb 3.1.0
20 records Highest priority Priority MEDIUM 4 MEDIUM, 16 LOW
Other records, highest priority first
- TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessionsPriority MEDIUM 46
- TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON ParserPriority MEDIUM 44
- TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC usePriority MEDIUM 44
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63755
- 2026-10-03 Alias added: GHSA-98fx-66cf-fc7c
References
More Surrealdb vulnerabilities
- TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
- TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
- TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
- TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
- TI-2025-43508 SurrealDB before 2.2.2 SurrealQL Injection via export CVSS 4.0CRITICAL 9.4
- TI-2026-45343 SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-63755 · CVE Program
- CVE-2026-63755 · NVD
- FIRST EPSS
- GHSA-98fx-66cf-fc7c · 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