All vulnerabilities

crates.io

CVE-2026-134290

SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors

Severity
High 7.1
Published
21 Nov 2026
Last changed
21 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.0.0
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Information exposure through error messages (CWE-209)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

SurrealDB 2.2.0 before 4.0.0 includes the record id of a referencing row in the error returned when a delete is blocked by an ON DELETE REJECT reference, without checking the caller's SELECT permission on that row. An authenticated principal with DELETE permission can attempt to delete a referenced record and read the rejection error to learn the existence and exact ids of referencing records hidden by row-level SELECT permissions.

From the CVE Program.

Affected software

SoftwareAffected versions
surrealdbcrates.io · osv:crates.io:surrealdb
  • From 2.2.0 before 4.0.0

About surrealdb

Downloads in the last 90 days (crates.io)
611,769crates.io, 24 Nov 2026
Total downloads (crates.io)
1,955,161crates.io, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134290