Cyber Resilience

CVE-2026-63740

Access Control in Surrealdb ≤ 3.1.4

Public PoCAccess Control
Published
20 July 2026
Modified
22 July 2026
Patch / advisory
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0026 17th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-63740 is a high-severity Incorrect Authorization (CWE-863) vulnerability in Surrealdb Surrealdb. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Databases (T1213.006); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

SurrealDB versions before 3.1.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by…

more

exploiting incorrect index handling during permission filtering.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

Authorization bypass on SELECT permissions enables unauthorized data retrieval from database repositories for users with valid record-scope accounts.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-63751Same product: Surrealdb Surrealdb
CVE-2026-63742Same product: Surrealdb Surrealdb
CVE-2026-63749Same product: Surrealdb Surrealdb
CVE-2026-63738Same product: Surrealdb Surrealdb
CVE-2026-63755Same product: Surrealdb Surrealdb
CVE-2026-63733Same product: Surrealdb Surrealdb
CVE-2026-63746Same product: Surrealdb Surrealdb
CVE-2026-63748Same product: Surrealdb Surrealdb
CVE-2026-63735Same product: Surrealdb Surrealdb
CVE-2026-63762Same product: Surrealdb Surrealdb

Affected Assets

surrealdb
surrealdb
≤ 3.1.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-4 Information Flow Enforcement
  • AC-25 Reference Monitor
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces approved authorizations for SELECT operations on record fields, which the CVE bypasses for array elements (field.*).

prevent

Enforces information flow rules on data elements returned by queries, addressing the incorrect index/permission filtering on arrays.

prevent

Provides a tamperproof reference monitor for all access decisions, which would have caught the flawed permission check on array elements.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Defining, enforcing, and reviewing access authorizations and least privilege directly prevents incorrect authorization checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Requiring consistency between access rights and classification plus formal approval steps ensures that the authorization logic correctly distinguishes between entities that should and should not be granted access.

prevents

Enforcing policy-driven approval and role-change reviews stops incorrect or stale authorization decisions from remaining in effect after job changes or terminations.

prevents

By tying access rights to identity, device, location and classification, the control reduces the likelihood that an authorization decision will be based on an incorrect or bypassed policy.

References