CVE Explorer
CVE-2026-49997
SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false) when a connected node was deleted, bypassing the edge table's PERMISSIONS FOR delete and PERMISSIONS FOR select clauses. This issue is fixed in version 3.1.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"surrealdb","vendor":"surrealdb","versions":[{"status":"affected","version":"< 3.1.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616","tags":["x_refsource_MISC"],"url":"https://github.com/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/references/1
{"name":"https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0","tags":["x_refsource_MISC"],"url":"https://github.com/surrealdb/surrealdb/releases/tag/v3.1.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/references/2
{"name":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf","tags":["x_refsource_CONFIRM"],"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ae6605878cbbf2b5beac599f5f18cf1279aff304cada265ba1de7b8dbc20980 · sha256:afda833408ffda55… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.