CVE-2026-63745
MEDIUM 5.3CVSS 4.0SurrealDB has an Authorization Bypass via Composite Record-id Paths
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 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.
- Published
- 20 Jul 2026
- Last modified
- 4 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-639CWE-863
- Also known as
- GHSA-6vg3-hgrw-p5gf
- Sources
- NVDJSONOSV GHSA-6vg3-hgrw-p5gfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 3.1.0 | 3.1.0 |
| OSV | crates.io | surrealdb | < 3.1.0 | 3.1.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6vg3-hgrw-p5gf · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-composite-record-id · Third Party Advisory
- https://github.com/surrealdb/surrealdb/commit/1fcb19040bfffba92b3f69edb9b707d469e0027b · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2026)