Description
SurrealDB before 2.2.2 fails to validate HTTP redirects in http functions, allowing authenticated users to bypass deny-net restrictions by redirecting to blocked IP addresses. Attackers can host a public server that redirects to denied network targets, enabling server-side request forgery to access internal endpoints and retrieve sensitive information.
Published: 2026-07-18
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB before 2.2.2 does not validate HTTP redirects in its http functions, enabling an attacker who already has authenticated access to redirect the server to a blocked IP address. This subverts deny‑net restrictions and produces a server‑side request forgery. The attacker can then access internal endpoints and read sensitive data, reflecting a medium‑severity vulnerability classified as CWE‑918.

Affected Systems

All installations of SurrealDB earlier than version 2.2.2 are vulnerable. The flaw affects any instance that uses the http function to contact external services. No additional configuration information is supplied. The vendor is SurrealDB.

Risk and Exploitability

The CVSS score of 5.8 suggests medium overall severity. The EPSS score of less than 1% indicates that current exploitation likelihood is low, and the flaw is not listed in the CISA KEV catalog. Exploitation requires authenticated access and the ability to trigger an http function; once a redirect to a private network target is delivered, the SurrealDB server will perform a request to that target, enabling data exfiltration. Attackers would need to host a publicly reachable server that issues the redirect.

Generated by OpenCVE AI on July 30, 2026 at 23:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 2.2.2 or later, which adds redirect validation for http functions.
  • If an upgrade is not immediately possible, restrict the http function to only trusted or whitelisted URLs, and limit its permissions to privileged users.
  • Add network segmentation or firewall rules that prohibit outbound connections from the SurrealDB process to internal IP ranges, providing an additional barrier against SSRF.

Generated by OpenCVE AI on July 30, 2026 at 23:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 02: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

Tue, 21 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 18 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
Description SurrealDB before 2.2.2 fails to validate HTTP redirects in http functions, allowing authenticated users to bypass deny-net restrictions by redirecting to blocked IP addresses. Attackers can host a public server that redirects to denied network targets, enabling server-side request forgery to access internal endpoints and retrieve sensitive information.
Title SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:48:20.325Z

Reserved: 2026-07-18T12:38:41.076Z

Link: CVE-2025-71398

cve-icon Vulnrichment

Updated: 2026-07-21T02:42:11.110Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:15:06Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)