Description
SurrealDB versions before 3.1.0 contain a session hijacking vulnerability where the HTTP /rpc sessions method returns attached session UUIDs without authentication and accepts arbitrary session fields with no ownership verification. Unauthenticated attackers can enumerate session UUIDs and impersonate authenticated sessions to read, write, delete data and escalate privileges.
Published: 2026-07-20
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB versions before 3.1.0 contain a session hijacking flaw. The /rpc sessions method exposes session UUIDs without requiring authentication and accepts arbitrary session fields without verifying ownership. Attackers can enumerate these UUIDs and impersonate authenticated sessions, allowing them to read, write, delete data and elevate privileges within the database. This weakness matches CWE‑306.

Affected Systems

All deployments of SurrealDB under the surrealdb:surrealdb product line with any version older than 3.1.0 are affected, regardless of network isolation, because the /rpc endpoint is reachable without authentication.

Risk and Exploitability

The CVSS score of 8.7 classifies the vulnerability as high severity. Although the EPSS score is less than 1%, indicating a low probability of public exploitation, the flaw permits a complete takeover of database sessions through simple HTTP requests to a publicly accessible endpoint. Based on the description, the likely attack vector is unauthenticated HTTP requests to the /rpc endpoint. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by first requesting /rpc sessions to harvest UUIDs and then forging subsequent authenticated requests that use those identifiers, effectively bypassing authentication and escalating privileges.

Generated by OpenCVE AI on August 3, 2026 at 01:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or newer to remove the unauthenticated session endpoint.
  • If an upgrade cannot be performed immediately, restrict access to the /rpc sessions endpoint by requiring authentication or blocking the endpoint entirely.
  • Implement input validation that verifies session ownership before accepting any session field modifications, ensuring only the rightful session owner can alter session data.

Generated by OpenCVE AI on August 3, 2026 at 01:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb

Mon, 20 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description SurrealDB versions before 3.1.0 contain a session hijacking vulnerability where the HTTP /rpc sessions method returns attached session UUIDs without authentication and accepts arbitrary session fields with no ownership verification. Unauthenticated attackers can enumerate session UUIDs and impersonate authenticated sessions to read, write, delete data and escalate privileges.
Title SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:05:48.619Z

Reserved: 2026-07-18T12:30:08.354Z

Link: CVE-2026-63757

cve-icon Vulnrichment

Updated: 2026-07-20T15:52:49.519Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T01:30:16Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function