Live threats

All CVEs / surrealdb

CVE-2026-49997surrealdb

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
—
Auth required
Yes
Published
Jul 15, 2026
Updated
Jul 20, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285, CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for surrealdb.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io surrealdb < 3.1.0 3.1.0 cargo update -p surrealdb --precise 3.1.0

Per OSV / GitHub Advisories (GHSA-whwg-vh4f-pmmf). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.