SurrealDB: Authorization Bypass in KILL Statement Allows Termination of Other Users' Live Queries (CVE-2026-63758)
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.