Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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