CVE-2025-71398 json
SurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass
published last yr. modified 11d ago also GHSA-5q9x-554g-9jgg , EUVD-2025-210489
- cvss
- 7.6
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io surrealdb 2.0.5, 2.1.5, 2.2.2
- surrealdb surrealdb 2.0.5, 2.1.5, 2.2.2
- github.com/surrealdb/surrealdb#5597 pull request
Is CVE-2025-71398 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.8 | 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 |
| CNA | 4.0 | 5.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | surrealdb | >=2.2.0, <2.2.2 >=2.1.0, <2.1.5 <2.0.5 |
2.2.2 2.1.5 2.0.5 |
Affected products
- surrealdb surrealdb
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/surrealdb/surrealdb/pull/5597
web
-
github.com
/surrealdb/surrealdb/security/advisories/GHSA-5q9x-554g-9jgg
vendor-advisory, web
-
vulncheck.com
/advisories/surrealdb-before-ssrf-via-http-redirect-bypass
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2025-71398
advisory
-
github.com
/surrealdb/surrealdb
package
Sources
- CVE List CVE-2025-71398
- GitHub Advisory GHSA-5q9x-554g-9jgg
- NVD CVE-2025-71398
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.