SurrealDB SSRF via port-specific network rule matching
surrealdb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb surrealdb |
|
|
Original description
SurrealDB 3.1.0 before 3.3.0 contains a server-side request forgery vulnerability in network-capability matching because port-specific --deny-net rules (HOST:PORT or IP:PORT) match only a literal host string, while the resolved-IP check discards the port. Authenticated users can call http::* functions with a hostname resolving to a denied IP, or the IP of a denied hostname, to reach blocked internal services.
From the CVE record · VulnCheck
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-mhv5-88p6-w4c3Exploit
- github.com/surrealdb/surrealdb/commit/9d9a5b0693e499e0d030cac6b618062ec02cd2bcPatch
- vulncheck.com/advisories/surrealdb-3.1.0-before-3.3.0-ssrf-via-port-specific-deny-net-host-aliasing-bypass
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121421.json
- nvd.nist.gov/vuln/detail/CVE-2026-121421