Description (CNA)
SurrealDB versions before 3.2.0 fail to validate namespace and database scope in custom API routes, allowing authenticated users to invoke endpoints in different namespaces/databases. Attackers with valid credentials for any namespace/database can access custom API endpoints in other tenants by specifying the target scope in the URL path, reading sensitive data or triggering unintended operations.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| surrealdb / surrealdb | affected 0 before 3.2.0; unaffected 3.2.0 |
CWE
CWE-639
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-848m-r628-vrxw
- https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-custom-api
ADP enrichment
No English description supplied.
No references supplied.