CVE-2026-121421 SurrealDB 3.1.0 before 3.3.0 SSRF via Port-Specific --deny-net Host Aliasing Bypass

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
3.3.0

What is CVE-2026-121421?

CVE-2026-121421 is a medium-severity vulnerability in surrealdb, published on 3 Nov 2026.

Official 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.

Weakness: CWE-918

Which versions are affected by CVE-2026-121421?

1 open source package ship an affected version, including surrealdb.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 3.1.03.3.0

How do I fix CVE-2026-121421?

Upgrade surrealdb to 3.3.0 or later.

Is CVE-2026-121421 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121421 exists.

Sources

Also known as GHSA-9jwv-m2gr-h32r, GHSA-mhv5-88p6-w4c3.

Is CVE-2026-121421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free