← VULNERABILITIES

CVE-2026-137490

SurrealDB before 4.0.0 Authorization Bypass via JavaScript surrealdb.query() Bridge

High · 8.7Fix available
CVSS
8.7
EPSS
0.57% (p41)
Published
2026-11-26
Age
2d old
Modified
2026-11-27
Product
surrealdb surrealdb
Aliases
GHSA-fq69-wr4w-v3gm

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

SurrealDB before 4.0.0 contains an authorization bypass vulnerability that allows restricted subjects to execute arbitrary queries by calling the JavaScript surrealdb.query() bridge. Attackers permitted to run a specific script can bypass the Capabilities::allows_query() gate in the query module to execute unrestricted queries beyond their predefined operations.

Fixed in

4.0.0

Affected packages

EcosystemPackageRangeFixed
vendorsurrealdb>=0, <4.0.04.0.0

Sources

  • NVD · first seen 2d ago · NVD terms of use
  • OSV · first seen 2d ago · CC-BY 4.0
  • CVE List · first seen 2d ago · CVE Terms of Use

References

JSON