CVE-2025-71398
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.
- CVSS 4.0
- 5.8
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 - CVSS 3.1
- 7.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-29)
- CWE
- CWE-918
- Published
- Modified
- Record from
- the NVD, synced
Affected
- surrealdb:surrealdb
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5q9x-554g-9jgg | crates.io | surrealdb | >=2.2.0 <2.2.2 | 2.2.2 |
| GHSA-5q9x-554g-9jgg | crates.io | surrealdb | >=2.1.0 <2.1.5 | 2.1.5 |
| GHSA-5q9x-554g-9jgg | crates.io | surrealdb | <2.0.5 | 2.0.5 |