Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level

Affects surrealdbSource GCVE Database

0

CVSS 6.5 Medium.

Data as of 7 Sep 2026, 10:07 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What to do

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, consider disabling scripting functions (--allow-scripting) to reduce exploitation risk, as scripting facilitates more direct exfiltration. Restrict authenticated user privileges to the minimum necessary to limit potential impact.

Description

SurrealDB versions before 3.1.0 contain a vulnerability where user-supplied WHERE clauses in various query statements are evaluated against full record data before permission checks are enforced. This flaw allows authenticated users to bypass table-level permissions and read the full contents of any table within their current database. Exploitation is easier when scripting is enabled but can also occur through other SurrealQL features. The issue does not affect cross-namespace or cross-database boundaries.

References

Community reviews

Loading reviews…