Live threats

All CVEs / Surrealdb

CVE-2025-71390Surrealdb

Medium 5.8

Priority
35
CVSS 4.0
5.8
EPSS
—
Auth required
Yes
Published
Jul 18, 2026
Updated
Sep 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

SurrealDB before 2.2.6, 2.3.6, and 2.1.8 (and 3.0.0-alpha.7 and earlier) fails to validate DNS-resolved hostnames against --deny-net network access restrictions in its http::* functions. An authenticated user can invoke http::<fn>(<url>) with a hostname that resolves to a denied IP address, causing the server to issue the request anyway and return the response. This bypasses network access controls, allowing access to restricted internal endpoints and potentially retrieving or altering sensitive information and credentials, depending on the deployment.

Original NVD text.

What to do

  1. Apply the vendor's security update for Surrealdb.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io SurrealDB ≥ 2.1.0 < 2.1.8 2.1.8 cargo update -p SurrealDB --precise 2.1.8
crates.io SurrealDB ≥ 2.2.0 < 2.2.6 2.2.6 cargo update -p SurrealDB --precise 2.2.6
crates.io SurrealDB ≥ 3.0.0-alpha.1 < 3.0.0-alpha.7 3.0.0-alpha.7 cargo update -p SurrealDB --precise 3.0.0-alpha.7
crates.io SurrealDB ≥ 2.3.0 < 2.3.6 2.3.6 cargo update -p SurrealDB --precise 2.3.6

Per OSV / GitHub Advisories (GHSA-m3c3-78fh-w3w7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
surrealdbsurrealdb< 2.1.8
surrealdbsurrealdb≥ 2.2.0 < 2.2.6
surrealdbsurrealdb≥ 2.3.0 < 2.3.6
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0

Official sources

References

Links published by the sources. Open them with care.