cvelo
P2 · HighCVSS 8.8EPSS 0.6%

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

  • CVE-2026-137490
  • GHSA-qwm5-4hhw-6vmx
  • EUVD-2026-136584

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.

Text from the CVE.org record.

Recommendation

  • surrealdb

    • If you run a version before 4.0.0update to 4.0.0 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • surrealdb

    Affected versionsFixed in
    before 4.0.04.0.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.