Description
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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 3.1.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gfMitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-idThird Party Advisory
Timeline
- Published
- Jul 20, 2026
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed