CVE-2026-63736

SurrealDB before 3.2.0 SSRF via JWKS URL hostname resolution

Published Jul 20, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:05 AM
Reserved
Jul 18, 2026, 12:19 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:51 PM