Description (CNA)
SurrealDB before 3.1.0 contains an authorization bypass vulnerability in the RELATE statement that allows authenticated users with CREATE permission to overwrite existing edge records without UPDATE permission. Attackers can issue a RELATE statement with a SET id clause pointing to an existing edge id, causing the storage layer to silently overwrite the target record instead of rejecting the operation.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.1.0; unaffected 3.1.0 |
CWE
CWE-285
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-f82j-v89j-mf86
- https://www.vulncheck.com/advisories/surrealdb-before-relate-statement-record-overwrite
ADP enrichment
No English description supplied.
No references supplied.