{"id":"GHSA-6g69-7xmf-h2x7","revision":"1a851ecb84f54e999ed12fa14dae7e6b","records":[{"revision":"1a851ecb84f54e999ed12fa14dae7e6b","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-6g69-7xmf-h2x7","aliases":[],"title":"Duplicate Advisory: Writes in a PERMISSIONS clause bypass table permissions","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-66r2-5gwj-gxm2. This link is maintained to preserve external references.\n\n## Original Description\nSurrealDB versions before 3.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by embedding CREATE, UPDATE, DELETE, or UPSERT statements in the PERMISSIONS clause, causing unintended writes and data corruption.","state":2,"publishedAt":"2026-07-20T12:33:08+00:00","modifiedAt":"2026-09-04T21:00:06.7120575+00:00","affected":[{"ecosystem":"crates.io","name":"surrealdb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-66r2-5gwj-gxm2","https://nvd.nist.gov/vuln/detail/CVE-2026-63733","https://www.vulncheck.com/advisories/surrealdb-before-permissions-bypass-via-permissions-clause"],"sourceUrl":"https://github.com/advisories/GHSA-6g69-7xmf-h2x7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6g69-7xmf-h2x7","identifiers":["GHSA-6g69-7xmf-h2x7"]},"retained":false,"historicalAffected":[]}],"coverage":[]}