Skip to main content
EPSS 0.3%top 76%

Duplicate Advisory: SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)

0
Medium
Published: 04/11/2025 (04/11/2025, 14:09:37 UTC)
Source: GCVE Database
Product: surrealdb

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Affected software

GitHub Actionsmore threats →ai
surrealdb/surrealdb
pkg:github/surrealdb/surrealdb
Affected versions
<2.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 07:52:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses