Auth bypass in Surrealdb
CVE-2026-63745
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 16.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Surrealdb — versions 0, 3.1.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-6vg3-hgrw-p5gf) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: SurrealDB before 3.1.0 Authorization Bypass via Composite Record-id (Third Party Advisory, third-party-advisory)