{"id":"CVE-2025-71398","published":"2026-07-18T13:10:15Z","modified":"2026-10-29T21:15:24Z","title":"SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00328,"percentile":0.18364,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5q9x-554g-9jgg","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-ssrf-via-http-redirect-bypass","tags":["third-party-advisory"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.67},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":[">= 2.2.0, < 2.2.2"]},{"vendor":"surrealdb","product":"surrealdb","versions":[">= 2.1.0, < 2.1.5"]},{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.0.5"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["2.2.2"]},{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.5"]},{"vendor":"surrealdb","product":"surrealdb","versions":["2.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-21T02:41:44.174308Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"surrealdb","vulnerableRanges":[">=2.2.0, <2.2.2",">=2.1.0, <2.1.5","<2.0.5"],"patched":["2.2.2","2.1.5","2.0.5"],"from":["GHSA-5q9x-554g-9jgg"],"provenance":"source"}],"summary":{"text":"SurrealDB versions before 2.2.2 contain a server-side request forgery flaw in the http functions, which fail to validate HTTP redirects and so do not enforce deny-net restrictions on redirect targets. An attacker with an authenticated account can exploit this over the network by pointing a request at a public server that redirects to a blocked internal IP address, reaching internal endpoints and retrieving sensitive information without user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:58Z"},"euvd":{"id":"EUVD-2025-210489","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-58367","published":"2026-07-18","fixed":"2.0.4","kev":false,"link":{"from":"CVE-2024-58367","to":"CVE-2025-71398","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb","fromFixed":"2.0.4","toFixed":"2.0.5","daysApart":0}]}},{"cve":"CVE-2024-58358","published":"2026-07-18","fixed":"2.1.0","kev":false},{"cve":"CVE-2024-58356","published":"2026-07-18","fixed":"2.1.4","kev":false,"link":{"from":"CVE-2024-58356","to":"CVE-2025-71398","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb","fromFixed":"2.1.4","toFixed":"2.1.5","daysApart":0}]}},{"cve":"CVE-2025-71392","published":"2026-07-18","fixed":"2.2.2","kev":false},{"cve":"CVE-2025-71398","published":"2026-07-18","fixed":"2.2.2","kev":false},{"cve":"CVE-2026-49997","published":"2026-07-15","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-63743","published":"2026-07-20","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-63746","published":"2026-07-20","fixed":"3.1.0","kev":false}],"package":"crates.io:surrealdb"}}