CVE-2026-63755: SurrealDB - Broken Access Control
- Cve: CVE-2026-63755
- Name: SurrealDB - Broken Access Control
- Description: 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.
- Impact: Authenticated users can bypass table-level permissions to read full contents of any table in their database, risking sensitive data exposure.
- Remediation: Update to version 3.1.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: logged_in
- Requirements: Attacker must be authenticated to the target database
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00361
- Epss percentile: 0.30465
- Assignee: [email protected]
- Published at: 2026-07-20T12:19:45Z
- Age in days: 127
- Modified at: 2026-07-22T15:19:27Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-63755
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-98fx-66cf-fc7c | nvd | Vendor Advisory, Mitigation |
| https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-where-clause | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| surrealdb:surrealdb | < 3.1.0 | no | nvd | /v1/products/surrealdb/surrealdb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| surrealdb/surrealdb | commit, package, security_advisory | yes | /v1/repositories/surrealdb/surrealdb |
Index
- Repositories: 7
- Repositories high signal: 5
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts