Description
SurrealDB before 3.1.5 contains a server-side request forgery vulnerability in the JWKS fetcher that follows HTTP redirects without re-validating redirect targets against network capabilities. Attackers with Owner role can configure a JWKS URL pointing to an allowlisted host that redirects to blocked internal addresses, bypassing network access controls.
Severity (CVSS)
| Base score | 5.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | 0 to <3.1.5; 3.1.5 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h5rg-8p7f-47g2 (vendor-advisory)
- https://www.vulncheck.com/advisories/surrealdb-before-ssrf-via-jwks-url-redirect (third-party-advisory)
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.