GHSA-4778-p23j-frcjMediumCVSS 4.3
SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass that allows users with the read...
🔗 CVE IDs covered (1)
📋 Description
SurrealDB 3.0.0 before 4.0.0 contains an authorization bypass that allows users with the read-only VIEWER role to modify database schema, because CREATE on a nonexistent table implicitly defines it without the DEFINE TABLE permission check applied to explicit definitions. Authenticated VIEWER users can issue CREATE statements in non-STRICT databases to add arbitrary empty SCHEMALESS tables, cluttering schemas or colliding with application table names.
🔗 References (4)
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m887-2246-mgw3
- https://nvd.nist.gov/vuln/detail/CVE-2026-134298
- https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-viewer-role-authorization-bypass-via-implicit-table-creation
- https://github.com/advisories/GHSA-4778-p23j-frcj