Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.1.0; unaffected 3.1.0 |
CWE
CWE-639
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gf
- https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-id
ADP enrichment
No English description supplied.
No references supplied.