Advisory record · GHSA-5q9x-554g-9jgg

SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)

CVSS 5.8 MediumEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 11 Apr 2025, 14:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io>=2.2.0, <2.2.2 || >=2.1.0, <2.1.5 || <2.0.52.2.2, 2.1.5, 2.0.5
Identifiers
GHSA-5q9x-554g-9jgg · CVE-2025-71398
Weakness (CWE)
CWE-918
Published
11 Apr 2025
Updated
4 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB versions before 2.0.5, from 2.1.0 before 2.1.5, and from 2.2.0 before 2.2.2 are affected. An authenticated user can use HTTP redirects from a server they control to make the server's http functions reach addresses blocked by the --deny-net setting, and read the responses. Upgrade to 2.0.5, 2.1.5, 2.2.2 or later. Limiting network access to trusted endpoints with an allowlist is a possible workaround.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.8 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:H/SI:H/SA:H CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.