What’s Vulnerable › Vulnerabilities

CVE-2025-71398: SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass

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.

Affected products

How to fix

Upgrade to a fixed version: surrealdb 2.2.2; surrealdb 2.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71398 or the next vulnerability affects your stack