Description
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.
Published: 2026-07-20
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB versions prior to 3.2.0 contain a server‑side request forgery flaw in the JWKS fetcher module. The implementation validates only the hostname string of the URL against an allow‑list, but it does not verify the resolved IP address. An attacker who can assume an Owner role can therefore direct the system to fetch a JWKS document from an allow‑listed hostname that resolves to a private or loopback IP. This causes the SurrealDB server to send a GET request to an internal address that would normally be blocked by direct URL restrictions, potentially exposing internal resources or enabling further lateral movement.

Affected Systems

All installations of SurrealDB versions prior to 3.2.0 are affected. The vulnerability is present in the surrealdb:surrealdb product line as identified by the CNA.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. EPSS score is 0.00226, indicating a very low exploitation probability, and the vulnerability is not catalogued in CISA’s KEV database. The exploit relies on an Owner‑level attacker who can control the JWKS URL. Because the vulnerability allows internal network requests, it can be used to discover or access services on the same host or internally networked systems. The lack of publicly known exploits does not eliminate the risk; the flaw remains exploitable as soon as an authorized operator can supply a manipulated JWKS URL.

Generated by OpenCVE AI on July 30, 2026 at 19:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.2.0 or later, which addresses the hostname validation flaw.
  • Ensure the JWKS URL allow‑list is restricted to externally reachable hostnames and disable resolution of internal IP addresses.
  • Apply network segmentation or firewall rules to block SurrealDB from making requests to internal IP ranges.

Generated by OpenCVE AI on July 30, 2026 at 19:41 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 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

Type Values Removed Values Added
Description 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.
Title SurrealDB before 3.2.0 SSRF via JWKS URL hostname resolution
Weaknesses CWE-918
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.1, 'vector': '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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

Reserved: 2026-07-18T12:19:06.903Z

Link: CVE-2026-63736

cve-icon Vulnrichment

Updated: 2026-07-20T12:54:19.205Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:45:06Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)