Security Resilience

CVE-2026-49997

Access Control in surrealdb

Published
15 July 2026
Modified
20 July 2026
CVSS Score v3.1 5.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0035 21th percentile
Risk Priority 43 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-49997 is a medium-severity Improper Authorization (CWE-285) vulnerability in surrealdb (named in the CVE record; NVD lists no product yet). Its CVSS base score is 5.4 (Medium).

Operationally, ranked at the 21th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false) when a connected node was deleted, bypassing the edge table's PERMISSIONS FOR…

more

delete and PERMISSIONS FOR select clauses. This issue is fixed in version 3.1.0.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-20960Shared CWE-285, CWE-863
CVE-2026-16200Shared CWE-285, CWE-863
CVE-2024-30260Shared CWE-285, CWE-863
CVE-2023-21424Shared CWE-285, CWE-863
CVE-2024-48901Shared CWE-285, CWE-863
CVE-2024-48897Shared CWE-285, CWE-863
CVE-2023-21422Shared CWE-285, CWE-863
CVE-2026-18985Shared CWE-285, CWE-863
CVE-2024-47876Shared CWE-285, CWE-863
CVE-2025-0580Shared CWE-285, CWE-863

Affected Assets

surrealdb
surrealdb
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates that access-control decisions are made and applied to each request before access occurs.

Requires a tamperproof, always-invoked reference monitor that performs authorization checks.

Directly requires enforcement of approved authorizations for every access request, stopping improper or missing checks.

Limits granted privileges so that even a bypassed check affects fewer resources.

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms — configuration controls, per-identity permissions, dynamic access management with authentication requirements — block most exploitation of missing or incorrect authorization checks at the system and configuration layer even when the application code itself has CWE-285; the remainder is application-level authorization flaws whose specific code paths are not fully covered by the system-level access controls A.8.3 mandates.

finds

Independent reviewers evaluate whether authorization logic matches policy, thereby reducing the window in which incorrect or missing authorization checks remain in production.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-285, a class-level weakness. Rules are authored against its narrower children: CWE-552.
  • No fine-grained STIG row for CWE-863, a class-level weakness, and none of its children carries one either.

References