CVE-2026-121422

SurrealDB from 3.1.0 before 3.3.0 SSRF via JWKS Implicit Default Port Bypass

Published Nov 3, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB from 3.1.0 before 3.3.0 contains a server-side request forgery vulnerability that allows database Owners to bypass port-specific deny-net rules by using JWKS URLs with implicit default ports. Attackers can configure a JWT or record access method whose JWKS URL omits port 80 or 443, causing blind GET requests to explicitly denied internal services.

Analysis

AI-generated

Technical impact

SurrealDB versions 3.1.0 through 3.2.x contain an SSRF flaw that permits database Owners to trick the server into making HTTP requests to internal services. By configuring a JWT or record access method whose JWKS URL omits the explicit port number (80 or 443), the database internally performs a blind GET request that can reach addressable services behind explicit deny‑net rules. This allows an attacker to access internal endpoints that would normally be denied, potentially exposing sensitive data or services.

Affected Systems

All installations of SurrealDB from version 3.1.0 up to, but not including, 3.3.0 are affected. The vulnerability is tied to the software’s handling of JWKS URLs within the database configuration.

Risk and Exploitability

The CVSS base score of 5.1 reflects medium severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to have database Owner privileges to modify JWT or record access configurations; the attack vector is inferred to be local or privileged. While the flaw does not lead to remote code execution, it can still cause unintended data disclosure or service reachability by bypassing configured network restrictions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later to remove the SSRF path
  • If an upgrade is not possible, enforce explicit port numbers on all JWKS URLs in the configuration
  • Re‑evaluate and tighten deny‑net rules, ensuring that services are not reachable through default‑port bypasses
  • Consider disabling JWKS fetching or requiring repository validation for JWTs that use JWKS

Generated by OpenCVE AI on November 3, 2026 at 16:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SurrealDB from 3.1.0 before 3.3.0 contains a server-side request forgery vulnerability that allows database Owners to bypass port-specific deny-net rules by using JWKS URLs with implicit default ports. Attackers can configure a JWT or record access method whose JWKS URL omits port 80 or 443, causing blind GET requests to explicitly denied internal services.
Title SurrealDB from 3.1.0 before 3.3.0 SSRF via JWKS Implicit Default Port Bypass
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-918
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
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
Nov 7, 2026, 2:57 AM
Reserved
Nov 3, 2026, 12:29 PM
Status
Deferred
Published
Nov 3, 2026, 3:17 PM
Modified
Nov 7, 2026, 3:17 AM