CVE-2025-71398 — Vulnerability in surrealdb — CVE Details
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
Summary
Advisory Timeline
- First published April 11, 2025 (549 days ago).
- Last revised September 4, 2026 — 511 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb --precise 2.1.5
cargo update -p surrealdb --precise 2.2.2
cargo update -p surrealdb --precise 2.0.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: crates.io (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.5 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5q9x-554g-9jggWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71398ADVISORY
- https://github.com/surrealdb/surrealdb/pull/5597WEB
- https://github.com/surrealdb/surrealdbPACKAGE
- https://www.vulncheck.com/advisories/surrealdb-before-ssrf-via-http-redirect-bypassWEB
Frequently Asked Questions
- What is CVE-2025-71398?
- SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF) This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.5/10).
- How do I check if my project is affected by CVE-2025-71398?
- CVE-2025-71398 affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71398 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-71392CRITICAL
SurrealDB server-takeover via SurrealQL injection on backup import
- CVE-2026-63735HIGH
SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
- CVE-2024-58367HIGH
SurrealDB: Improper Authorization in Select Permissions
- CVE-2026-63740MEDIUM
SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
- CVE-2024-58364MEDIUM
Uncaught Exception Handling Parsing Errors on Line Terminators
- CVE-2026-63743MEDIUM
SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
- CVE-2026-63755MEDIUM
SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
- CVE-2024-58363MEDIUM
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies