SurrealDB versions before 3.1.0 contain an authorization bypass vulnerability where authenticated users can spoof composite record-id field values by writing to editable body fields. Attackers can bypass permission rules that gate access on id components like tenant isolation by setting same-named body fields to spoofed values that permission checks incorrectly read instead of the immutable id key.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gf | Vendor Advisory Mitigation |
| https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-id | Third Party Advisory |
Configurations
History
22 Jul 2026, 15:45
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | |
| First Time |
Surrealdb
Surrealdb surrealdb |
|
| References | () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gf - Vendor Advisory, Mitigation | |
| References | () https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-id - Third Party Advisory |
20 Jul 2026, 12:19
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-20 12:19
Updated : 2026-07-22 15:45
NVD link : CVE-2026-63745
Mitre link : CVE-2026-63745
CVE.ORG link : CVE-2026-63745
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-639
Authorization Bypass Through User-Controlled Key
