Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- High severity, with a CVSS score of 8.8, published 18 July 2026.
- Which products and versions are affected?
- surrealdb (crates.io) >= 2.1.0, <= 2.1.7.
- Is there a fix for This vulnerability?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run surrealdb (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
This vulnerability is an authorization bypass (CWE-863) in SurrealDB's network access control mechanism. The root cause is insufficient hostname validation in the http::* function family—while the server checks IP addresses against the --deny-net blocklist, it does not re-validate resolved DNS hostnames after DNS lookup occurs. An authenticated user can exploit this by constructing an http::* call with a hostname that resolves to a blocked IP address. The request proceeds despite the restriction, and the response is returned to the attacker. The vulnerability requires authentication (low-privilege user account) but no user interaction, and is reachable over the network. An attacker can access internal endpoints and services that administrators intended to block, potentially exfiltrating sensitive data or altering configuration. Patches are available in versions 2.1.8, 2.2.6, 2.3.6, and subsequent releases.
Affected products
- SurrealDB SurrealDB <= 2.1.7, >= 2.2.0 < 2.2.6, >= 2.3.0 < 2.3.6, >= 3.0.0-alpha.1 <= 3.0.0-alpha.7
Timeline
- 2025-06-26: disclosed: Original advisory GHSA-m3c3-78fh-w3w7 published
- 2026-07-18: advisory: Duplicate advisory GHSA-vp9r-94xg-q7q8 published
- 2026-09-04: other: Duplicate advisory GHSA-vp9r-94xg-q7q8 withdrawn