{"id":"CVE-2026-63745","title":"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","summary":"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…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cwe":["CWE-639"],"vendor":"surrealdb","product":"surrealdb","affected":["surrealdb < 3.1.0"],"patched":["surrealdb 3.1.0"],"published":"2026-07-20","updated":"2026-10-08","sourceUpdated":"2026-10-08T16:17:27.553","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-63745","references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gf","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-id","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T15:59:06.739433Z"},"epss":0.00249,"epssPercentile":0.14891,"ingestedAt":"2026-10-08T16:52:14.705Z","slug":"CVE-2026-63745","body":"## Overview\n\nSurrealDB 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.\n\n## Affected\n\n- `surrealdb < 3.1.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `surrealdb 3.1.0`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}