CVE-2026-49997 json
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
published 4mo ago modified 3mo ago also EUVD-2026-44713 , GHSA-whwg-vh4f-pmmf
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io surrealdb 3.1.0
- surrealdb surrealdb 3.1.0
Is CVE-2026-49997 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | surrealdb | <3.1.0 |
3.1.0 |
Affected products
- surrealdb surrealdb
Classification
References
-
github.com
/surrealdb/surrealdb/commit/500f4060349580b9cbb9c07b8112a487551c4616
web
-
github.com
/surrealdb/surrealdb/pull/242
web
-
github.com
/surrealdb/surrealdb/commit/a80d1784cf75358441978bbd77688855e95f4578
web
-
github.com
/surrealdb/surrealdb/security/advisories/GHSA-whwg-vh4f-pmmf
web
-
github.com
/surrealdb/surrealdb/releases/tag/v3.1.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-49997
advisory
-
github.com
/surrealdb/surrealdb
package
Sources
- CVE List CVE-2026-49997
- GitHub Advisory GHSA-whwg-vh4f-pmmf
- NVD CVE-2026-49997
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.