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

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-04-11T14:09:37.000Z
- Modified: 2026-10-29T21:17:06.580Z
- Also known as: GHSA-5q9x-554g-9jgg
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 2.2.0 before 2.2.2; from 2.1.0 before 2.1.5; before 2.0.5; before 2.2.2 (not affected: 2.2.2; 2.1.5; 2.0.5)
- surrealdb (crates.io): from 2.2.0 before 2.2.2; from 2.1.0 before 2.1.5; before 2.0.5

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5q9x-554g-9jgg> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-ssrf-via-http-redirect-bypass> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-71398> (advisory)
- <https://github.com/surrealdb/surrealdb/pull/5597> (web)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

- CVE List: [CVE-2025-71398](https://www.cve.org/CVERecord?id=CVE-2025-71398), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-5q9x-554g-9jgg](https://github.com/advisories/GHSA-5q9x-554g-9jgg), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2025-71398](https://nvd.nist.gov/vuln/detail/CVE-2025-71398), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2025-71398 · Whole record: https://cve.day/CVE-2025-71398.json · Rebuilt by cve.day 2026-11-25T22:59:12.406Z
