Skip to main content
VulnerabilityPublished Updated

Surrealdb: Duplicate Advisory: Custom API route lets authenticated callers override namespace/database scope via URL path

Affects surrealdbSource GCVE Database

0

CVSS 8.1 High.

Data as of 7 Sep 2026, 10:07 UTC

CVSS 3.1 base score
8.1High
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:H/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, restrict access to authenticated users carefully and consider limiting custom API route usage or adding additional validation controls to prevent scope override via URL path.

Description

SurrealDB versions before 3.2.0 contain a vulnerability where custom API routes do not properly validate namespace and database scope. This allows authenticated users to access or invoke endpoints across different namespaces or databases by manipulating the URL path. The flaw can lead to unauthorized data access or unintended operations within other tenants' scopes.

References

Community reviews

Loading reviews…