Description
SurrealDB before 3.2.0 contains a server-side request forgery vulnerability in the JWKS fetcher that validates only the URL hostname string against allow-lists without checking resolved IP addresses. An Owner role attacker can point an access method at an allow-listed hostname resolving to private or loopback addresses, causing the server to issue GET requests to internal addresses that would be blocked by direct URL.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.2.0 | 3.2.0 |
References
- GitHub Security Advisory (GHSA-5x4x-2946-qr67) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.2.0 SSRF via JWKS URL hostname resolution third-party-advisory