Duplicate Advisory: SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Description
SurrealDB versions before 2.2.2 contain a vulnerability where HTTP redirects in http functions are not properly validated. This allows authenticated users to bypass deny-net restrictions by using redirects to access blocked IP addresses. The issue enables server-side request forgery (SSRF), potentially allowing attackers to reach internal endpoints and extract sensitive information. The advisory is a duplicate and has been withdrawn in favor of GHSA-5q9x-554g-9jgg. The vulnerability has a CVSS score of 7.6, indicating a medium severity level.
CVSS v3.1
Score 7.6high
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SurrealDB prior to version 2.2.2 fails to validate HTTP redirects within its http functions. Authenticated users can exploit this by hosting a public server that redirects to IP addresses blocked by deny-net flags. This bypass enables server-side request forgery (SSRF) attacks, allowing attackers to access internal network endpoints and potentially retrieve sensitive data. The vulnerability is tracked as CVE-2025-71398 and is associated with CWE-918 (Server-Side Request Forgery). The advisory for this vulnerability has been withdrawn as it duplicates GHSA-5q9x-554g-9jgg.
Potential Impact
An authenticated attacker can bypass network restrictions intended to block access to certain IP addresses by leveraging unvalidated HTTP redirects. This can lead to SSRF attacks, allowing the attacker to make requests to internal or otherwise restricted network resources. The impact includes potential exposure of sensitive information and partial disruption of service. The CVSS score of 7.6 reflects high confidentiality impact, low integrity impact, and low availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory GHSA-5q9x-554g-9jgg for current remediation guidance. Since the advisory is withdrawn as a duplicate, refer to the original GHSA advisory for official fixes or workarounds. Until patched, restrict authenticated user capabilities to invoke http functions or monitor for suspicious redirect usage if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xhwm-9486-8rgr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71398"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a5ba17c44ab8fbf7c789a8e
Added to database: 07/18/2026, 15:53:32 UTC
Last enriched: 09/15/2026, 07:52:23 UTC
Last updated: 10/17/2026, 06:48:14 UTC
Views: 144
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.