Skip to main content

SurrealDB CVE-2026-63736

| EUVDEUVD-2026-45907 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-20 disclosure@vulncheck.com GHSA-qrjc-jcj4-56p7
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain SurrealDB Owner credentials
  2. Delivery
    Create or modify access method with attacker-controlled JWKS URL
  3. Exploit
    Add or abuse allow-listed hostname pointing to attacker DNS
  4. Install
    Configure DNS to resolve hostname to internal/loopback IP
  5. C2
    Trigger token validation to force JWKS fetch
  6. Execute
    Server issues GET to internal address
  7. Impact
    Enumerate internal network services via SSRF responses

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold the SurrealDB Owner role, which is the highest privilege level in SurrealDB's role hierarchy - not a standard user or even an editor. The attacker must be able to create or modify access methods with custom JWKS URLs, and the targeted hostname must either already appear on the server's JWKS hostname allow-list or the attacker must have the ability to add it (which Owner role permits). The SSRF is limited to HTTP GET requests only, as JWKS fetching is a read operation; the attacker cannot issue POST/PUT/DELETE requests to internal services through this vector, ruling out write-based attacks on internal APIs. Environments where SurrealDB's network egress is restricted to public IP ranges or where Owner-role access is tightly controlled and audited are effectively protected against realistic exploitation beyond the patch.

Impact

The CVSS 4.0 score of 5.1 (Medium) is appropriate and the vector is internally consistent with the description. PR:H is the critical limiting factor: Owner is SurrealDB's highest privilege tier, so this vulnerability is only reachable by already-highly-privileged principals - significantly narrowing the realistic attack population. EPSS data was not supplied in the input and cannot be estimated. The impact is bounded: VC:L and SC:L indicate low confidentiality exposure, GET-only SSRF means no write-path to internal services, and there is no integrity or availability impact. There is no KEV listing and no public proof-of-concept code. The real-world priority depends heavily on deployment context: SurrealDB instances with Owner-role exposure to untrusted parties (multi-tenant SaaS, shared developer environments) and network adjacency to sensitive internal services face meaningful risk; isolated single-tenant deployments with tightly controlled Owner access face minimal residual risk after applying standard least-privilege controls. No conflicts between data sources were detected.

Exploit ScenarioDerived

An attacker who has gained SurrealDB Owner-level credentials - through credential theft, supply chain compromise of an admin account, or insider access - registers an attacker-controlled domain in (or finds one already in) the JWKS hostname allow-list and configures a new access method pointing to it. When SurrealDB next validates a token against that access method, it resolves the domain (which the attacker's DNS server points to an internal IP such as 192.168.1.1 or 169.254.169.254 for cloud metadata services) and issues a GET request to the internal address, returning the response to the attacker and enabling internal network topology enumeration. No public proof-of-concept code has been identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Server-Side Request Forgery in SurrealDB's JWKS fetcher allows an Owner-role attacker to weaponize the server as an internal network proxy. By configuring an access method with a JWKS URL whose hostname passes the string-based allow-list check but resolves via DNS to a private or loopback address, the attacker causes SurrealDB to issue GET requests to internal infrastructure that would otherwise be unreachable. No public exploit has been identified and no CISA KEV listing exists; exploitation is constrained by the requirement for Owner-level privileges, making this a meaningful but bounded risk in privileged-access-compromise scenarios.

RemediationAI

Upgrade SurrealDB to version 3.2.0 or later, which resolves the vulnerability by validating the resolved IP address against a blocklist of private and loopback ranges in addition to the hostname string check. The vendor advisory at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5x4x-2946-qr67 should be consulted for release notes. As a compensating control prior to patching, implement network-level egress filtering on the SurrealDB server host to block outbound connections to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and loopback (127.0.0.0/8); note this may disrupt any legitimately configured internal JWKS endpoints. Additionally, audit all configured access method JWKS URLs to confirm they resolve only to public IP space, and restrict Owner-role assignment to the minimum necessary principals to reduce the likelihood of this path being reachable at all.

Affected VersionsENISA

surrealdb 0 <3.2.0

Affected Packages

euvd surrealdb fix: 3.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SurrealDB uses JWKS (JSON Web Key Set) endpoints to retrieve public keys for validating access method tokens - a standard pattern in OAuth/OIDC-adjacent authentication flows. The root cause is CWE-918 (Server-Side Request Forgery): the JWKS fetcher validates the URL's hostname component as a string against a configured allow-list but does not resolve the hostname to an IP address and verify that the resolved address is a public, routable IP. This is a classic DNS-rebinding-adjacent pattern - an attacker who controls DNS for an allow-listed hostname (or can register a hostname that was added to the allow-list) can serve responses that map the domain to RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or loopback (127.0.0.0/8). The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H confirms the attack is network-reachable with no special attack requirements but mandates High privileges. No CPE strings were provided in the input data.

Know when Surrealdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 4.1 MEDIUM

Owner-role requirement drives PR:H; scope change because SSRF reaches internal systems outside SurrealDB's security boundary; GET-only impact limits confidentiality to L with no integrity or availability effect.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 20, 2026 - 15:33 EUVD

DescriptionCVE.org

SurrealDB before 3.2.0 contains a server-side request forgery vulnerability in the JWKS fetcher that validates only the URL hostname string against allow-lists without checking resolved IP addresses. An Owner role attacker can point an access method at an allow-listed hostname resolving to private or loopback addresses, causing the server to issue GET requests to internal addresses that would be blocked by direct URL.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
emerging multi-model database, limited enterprise production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2025-71392 CRITICAL
9.4 Jul 18

Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica

CVE-2026-134292 CRITICAL
9.3 Nov 21

SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed

CVE-2026-63756 CRITICAL
9.2 Jul 20

Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act

CVE-2026-134299 HIGH
8.7 Nov 21

Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo

CVE-2026-134293 HIGH
8.8 Nov 21

SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow

CVE-2026-134295 HIGH
8.7 Nov 21

Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an

CVE-2026-134291 HIGH
8.7 Nov 21

Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read

CVE-2026-134309 HIGH
8.7 Nov 21

SurrealDB 1.0.0 through 3.x lets an authenticated user with only the database-level VIEWER role read, modify, and delete

CVE-2026-121417 HIGH
8.8 Nov 03

Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a

CVE-2026-134294 HIGH
8.7 Nov 21

Cross-bucket file disclosure and modification on Windows affects SurrealDB versions 3.0.0 up to but not including 4.0.0

CVE-2026-63760 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web

CVE-2026-63747 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy