CVE-2026-137489 SurrealDB before 4.0.0 SSRF and Credential Leakage via ML Model Export
MediumCVSS 5.3
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-7r2m-g5wf-pj9j) vendor-advisory
- VulnCheck Advisory: SurrealDB before 4.0.0 SSRF and Credential Leakage via ML Model Export third-party-advisory
- ENISA EUVD EUVD-2026-136585 third-party-advisory