# CVE-2026-63758: SurrealDB authorization bypass in KILL statement

Source: https://junglewise.ai/threats/cve-2026-63758-surrealdb-authorization-bypass-in-kill-statement  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-20. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2026-63758 · Severity: medium · CVSS 5.4 · Published 2026-07-20

SurrealDB, a multi-model cloud database, contains a flaw in how it handles real-time data subscriptions. An authenticated user can prematurely terminate the live data feeds of other users, including those with higher privileges, if they know the specific ID of the subscription. This results in a silent disruption of real-time updates for affected users, potentially breaking application functionality or monitoring tools.

Technologies: [surrealdb (crates.io)](https://junglewise.ai/threats/technologies/surrealdb). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2026-63758 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-63758 being exploited in the wild.

**How severe is CVE-2026-63758?** Medium severity, with a CVSS score of 5.4, published 20 July 2026.

**Which products and versions are affected?** surrealdb (crates.io) SEMVER:introduced=0,fixed=3.1.0.

**Is there a fix for CVE-2026-63758?** Yes. surrealdb (crates.io): upgrade to 3.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-63758 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-63758?** Check whether you run surrealdb (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- surrealdb (crates.io): upgrade to 3.1.0 or later

  ```sh
  cargo update -p surrealdb
  ```


## Technical details

A missing authorization check in the KILL statement implementation within `core/src/expr/statements/kill.rs` allows authenticated users to terminate any LIVE SELECT subscription in the database. While the system verifies the requester has database-level access, it fails to verify ownership of the specific live query UUID being terminated. An attacker with network access and valid low-privilege credentials can disrupt the availability of real-time data streams for other tenants or administrators. Exploitation requires knowledge of the target live query's randomly generated UUID, which might be obtained through logs or information disclosure. The issue is resolved in version 3.1.0 by adding an ownership verification check.

## Affected products

- surrealdb surrealdb < 3.1.0

## Identifiers

- CVE-2026-63758
- GHSA-gcwr-5mrf-fvch

## Timeline

- 2026-05-27: advisory: GitHub Security Advisory published
- 2026-07-20: disclosed: CVE published to NVD
- 2026-07-20: patched: Fix confirmed in version 3.1.0

## References

- [https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gcwr-5mrf-fvch](https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gcwr-5mrf-fvch)
- [https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-kill-statement](https://www.vulncheck.com/advisories/surrealdb-before-authorization-bypass-via-kill-statement)

## Related threats

- [SurrealDB use-after-free in KV backends via affinitypool spawn_local](https://junglewise.ai/threats/cve-2026-121417-surrealdb-before-3-3-0-contains-a-use-after-free-vulnerability)
- [SurrealDB JSON parser denial of service via uncontrolled recursion](https://junglewise.ai/threats/surrealdb-json-parser-denial-of-service-via-uncontrolled-recursion-3037f8a0)
- [SurrealDB ES512 algorithm silently downgraded to ES384](https://junglewise.ai/threats/surrealdb-es512-algorithm-silently-downgraded-to-es384-f0af29b8)
- [SurrealDB permission bypass via WHERE clause evaluation](https://junglewise.ai/threats/surrealdb-permission-bypass-via-where-clause-evaluation-afa6f001)
- [SurrealDB authorization bypass in KILL statement](https://junglewise.ai/threats/surrealdb-authorization-bypass-in-kill-statement-fc230d0f)
