# CVE-2026-63755: SurrealDB before 3.1.0 Permission Bypass via WHERE Clause

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-07-01T20:06:08.000Z
- Modified: 2026-10-08T15:23:50.053Z
- Also known as: GHSA-98fx-66cf-fc7c
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 3.1.0 (not affected: 3.1.0)
- surrealdb (crates.io): before 3.1.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-98fx-66cf-fc7c> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-where-clause> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63755> (advisory)
- <https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616> (web)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

- CVE List: [CVE-2026-63755](https://www.cve.org/CVERecord?id=CVE-2026-63755), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-98fx-66cf-fc7c](https://github.com/advisories/GHSA-98fx-66cf-fc7c), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-63755](https://nvd.nist.gov/vuln/detail/CVE-2026-63755), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-63755 · Whole record: https://cve.day/CVE-2026-63755.json · Rebuilt by cve.day 2026-11-25T22:59:29.210Z
