CVE-2025-71398
MEDIUM
5.8
CVSS 4.0
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.
Metadata
Severity & Metrics
5.8
MEDIUM CVSS 4.0
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
Affected products (3)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.2.2, 2.2.2 |
| surrealdb | surrealdb | — | 0 < 2.1.5, 2.1.5 |
| surrealdb | surrealdb | — | 0 < 2.0.5, 2.0.5 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-918 | cna | Server-Side Request Forgery (SSRF) |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.8 | MEDIUM | 4.0 | cna | 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 |
References (2)
- GitHub Security Advisory (GHSA-5q9x-554g-9jgg) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5q9x-554g-9jgg
- VulnCheck Advisory: SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass https://www.vulncheck.com/advisories/surrealdb-before-ssrf-via-http-redirect-bypass