CVE-2025-71398 SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass
MediumCVSS 5.8
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 2.0.5; >= 2.1.0, < 2.1.5; >= 2.2.0, < 2.2.2 | 2.0.5, 2.1.5, 2.2.2 | Fixed |
| crates.io surrealdb(crates.io) | < 2.0.5; >= 2.1.0, < 2.1.5; >= 2.2.0, < 2.2.2 | 2.0.5, 2.1.5, 2.2.2 | Fixed |
| surrealdb | < 2.2.2 | 2.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | >= 2.2.0, < 2.2.2 | 2.2.2 |
| crates.io surrealdb(crates.io) | >= 2.1.0, < 2.1.5 | 2.1.5 |
| crates.io surrealdb(crates.io) | < 2.0.5 | 2.0.5 |
| crates.io surrealdb | >= 2.2.0, < 2.2.2 | 2.2.2 |
| crates.io surrealdb | >= 2.1.0, < 2.1.5 | 2.1.5 |
| crates.io surrealdb | < 2.0.5 | 2.0.5 |
| surrealdb | < 2.2.2 | 2.2.2 |
References
- GitHub Security Advisory (GHSA-5q9x-554g-9jgg) vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- VulnCheck Advisory: SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass third-party-advisory
- github.com
- ENISA EUVD EUVD-2025-210489 third-party-advisory