Vulnerability  ·  2026-11-27

SurrealDB SSRF in ML export commands via absolute model-name URL

VulnerabilityMedium impactGlobalCVE-2026-137489
An SSRF in SurrealDB's ML export path lets a caller supply an absolute URL as the model name, redirecting authenticated requests to internal hosts.
The ML export feature in a database that increasingly serves ML workloads can be abused to reach internal/cloud-metadata services from the database process.
The remote HTTP client router passes raw model names to Url::join during ML export, so an authenticated user can supply an absolute URL as the model name in ExportMl/ExportBytesMl to redirect requests to internal services.
SurrealDB before 4.0.0 (remote HTTP client router in ML export)
Upgrade to SurrealDB 4.0.0 or later (advisory GHSA-7r2m-g5wf-pj9j); restrict ML export access to trusted users.
SurrealDB GitHub Security Advisory GHSA-7r2m-g5wf-pj9jNVD — CVE-2026-137489
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →