Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137489: medium-severity vulnerability (CVSS 5.3) in surrealdb surrealdb.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
surrealdb surrealdb < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | < 4.0.0 | — |
| surrealdb surrealdb | 4.0.0 | 4.0.0 |
Action recommended by the source
Upgrade to a fixed version: 4.0.0.
Fixed in: 4.0.0
Sources and references
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-7r2m-g5wf-pj9j — CVE Program
- https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-ssrf-and-credential-leakage-via-ml-model-export — CVE Program
Weaknesses (CWE): CWE-918
Relevant change history
Published
Preliminary advisory published.