← Back to search

CVE-2026-109334

8.1 HIGHpublic exploit available

Published 2026-10-12 · Updated 2026-10-13

AI risk analysis

Summary
SurrealDB before 3.3.0 allows authenticated attackers to bypass namespace and database isolation by overriding the Surreal-NS/Surreal-DB headers or using the RPC use method, enabling unauthorized access to data in other tenants where table permissions permit it.
Exploitability
Exploitation requires valid credentials and knowledge of target tenant identifiers; no privilege escalation beyond the authenticated user's existing permissions is needed.
Blast radius
An attacker can read, create, modify, or delete rows and read DEFINE PARAM values in any tenant where table-level permissions allow it, potentially compromising data confidentiality and integrity across tenants.
Detection
Monitor for SQL requests or RPC calls that include non-default Surreal-NS/Surreal-DB headers inconsistent with the authenticated user’s assigned namespace/database, especially when combined with access to resources outside the user’s expected tenant scope.
Prioritized remediation
Upgrade to SurrealDB 3.3.0 or later, which enforces strict namespace and database isolation based on the authentication context.
auth-bypasstenant-isolationcwe639surrealdbcross-tenant-access

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

SurrealDB before 3.3.0 does not check the caller-selected namespace or database against the level at which a namespace- or database-level system user authenticated, allowing cross-tenant access. An authenticated attacker can set the Surreal-NS/Surreal-DB headers on /sql or call the RPC use method to read, create, modify, and delete rows and read DEFINE PARAM values in another tenant where table PERMISSIONS allow it.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-639

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.