CVE-2026-137489
SurrealDB before 4.0.0 SSRF and Credential Leakage via ML Model Export
5.3
Description
SurrealDB before 4.0.0 contains a server-side request forgery vulnerability in the remote HTTP client router that passes raw model names to Url::join during ML export. Attackers can supply an absolute URL as the model name in ExportMl or ExportBytesMl commands to redirect authenticated requests and capture session tokens.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| surrealdb | surrealdb | 0 → <4.0.0 | 4.0.0 | CVE.org |