Technical impact
SurrealDB versions 3.1.0 through 3.2.x contain an SSRF flaw that permits database Owners to trick the server into making HTTP requests to internal services. By configuring a JWT or record access method whose JWKS URL omits the explicit port number (80 or 443), the database internally performs a blind GET request that can reach addressable services behind explicit deny‑net rules. This allows an attacker to access internal endpoints that would normally be denied, potentially exposing sensitive data or services.
Affected Systems
All installations of SurrealDB from version 3.1.0 up to, but not including, 3.3.0 are affected. The vulnerability is tied to the software’s handling of JWKS URLs within the database configuration.
Risk and Exploitability
The CVSS base score of 5.1 reflects medium severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to have database Owner privileges to modify JWT or record access configurations; the attack vector is inferred to be local or privileged. While the flaw does not lead to remote code execution, it can still cause unintended data disclosure or service reachability by bypassing configured network restrictions.