Skip to main content
EPSS 0.3%top 78%

SurrealDB: Authorization Bypass in KILL Statement Allows Termination of Other Users' Live Queries (CVE-2026-63758)

0
Medium
Published: 07/01/2026 (07/01/2026, 20:14:20 UTC)
Source: GCVE Database
Product: surrealdb

Description

SurrealDB versions prior to 3.1.0 contain an authorization bypass vulnerability in the KILL statement used to terminate live query subscriptions. The implementation verifies database-level access but fails to confirm that the requesting user owns the live query being terminated. This allows any authenticated user with database-level access to terminate other users' live queries silently, disrupting real-time data subscriptions and breaking multi-tenant isolation. The vulnerability requires knowledge of the target live query UUID, which may be exposed through logs or shared dashboards. The issue has been patched in version 3.1.0 with an ownership verification check.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected software

crates.ioghsa
surrealdb
Affected versions
<3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:23:23 UTC

Technical Analysis

The KILL statement in SurrealDB (core/src/expr/statements/kill.rs) is intended to terminate LIVE SELECT subscriptions that provide real-time updates. While it verifies that the user has database-level access, it does not verify ownership of the live query before deletion. After passing the valid_for_db() check, the statement deletes the live query entry without comparing the requesting user's identity to the owner, enabling any authenticated user with database-level access to terminate any live query in the same database. This affects availability by silently stopping real-time subscriptions and breaks multi-tenant isolation guarantees. The vulnerability was discovered and patched during a code audit and penetration test by cure53. The fix, introduced in SurrealDB 3.1.0, adds an ownership verification step before allowing deletion of live queries.

Potential Impact

An authenticated user with database-level access can terminate any other user's live query subscriptions within the same database by issuing a KILL statement with the target live query's UUID. This causes silent disruption of real-time data subscriptions, impacting availability and violating multi-tenant isolation. The attack requires knowledge of the live query UUID, which may be exposed through logs or shared monitoring tools. The vulnerability affects all users regardless of privilege level, allowing low-privilege users to disrupt higher-privilege users' live queries.

Mitigation Recommendations

A patch is available in SurrealDB version 3.1.0 and later that introduces an ownership verification check in the KILL statement implementation. Users should upgrade to version 3.1.0 or later to remediate this issue. For users unable to upgrade immediately, it is recommended to treat live query UUIDs as sensitive and avoid exposing them through logs or shared interfaces. Additionally, where multi-tenant isolation is critical, separate databases per tenant should be used instead of relying solely on record-level access controls. Monitoring for unexpected live query terminations and implementing reconnection and re-subscription mechanisms in application logic can also help mitigate impact.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gcwr-5mrf-fvch
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63758"]
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a9c2646acd9273b49fc9c92

Added to database: 09/05/2026, 14:25:10 UTC

Last enriched: 09/07/2026, 14:23:23 UTC

Last updated: 10/19/2026, 06:48:18 UTC

Views: 24

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses