
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-137489 is a Server-Side Request Forgery (SSRF) vulnerability in SurrealDB's remote HTTP client router that enables authenticated attackers to redirect HTTP requests and capture session tokens during ML model export operations. It affects all SurrealDB versions before 4.0.0 and was disclosed on November 26, 2026. The vulnerability was assigned a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 5.3 (Medium) (GitHub Advisory, SurrealDB Advisory).
The root cause is improper URL handling in surrealdb/src/engine/remote/http/mod.rs, where raw user-supplied model names are passed directly to Url::join() without sanitization (CWE-918). Because Url::join() treats absolute URLs as full replacements rather than path segments, an attacker can supply a model name such as https://attacker.com/ml in an ExportMl or ExportBytesMl command, causing the HTTP client to issue the request to the attacker-controlled server with the current session's authentication tokens and headers attached. Exploitation requires only low-privilege authenticated access and no user interaction. The recommended fix is to URL-encode model names before appending them to the path, or to use url.path_segments_mut() to enforce strict path-segment treatment (SurrealDB Advisory, GitHub Advisory).
Successful exploitation results in credential/session token disclosure, as the SurrealDB server forwards authenticated HTTP requests — including session tokens and headers — to an attacker-controlled host. This can allow an attacker to hijack authenticated sessions, potentially enabling unauthorized access to SurrealDB resources or lateral movement within environments where those tokens are reused. Integrity of subsequent systems is also at low risk, as the redirected requests may trigger unintended actions on attacker-controlled infrastructure (SurrealDB Advisory, GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (GitHub Advisory). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires low-privilege authenticated access, making it accessible to any user with ML export permissions but limiting opportunistic mass exploitation.
nc, python -m http.server, or Burp Collaborator) to capture incoming requests and headers.ExportMl or ExportBytesMl command where the model name is set to an absolute URL pointing to the attacker's server, e.g., https://attacker.com/capture.Url::join() with the attacker-supplied absolute URL, overriding the intended destination and forwarding the HTTP request — including authentication headers and session tokens — to the attacker's server.ExportMl or ExportBytesMl commands with model names containing http:// or https:// absolute URLs rather than standard model name strings.Upgrade SurrealDB to version 4.0.0 or later, which pins ML export requests to their intended host and prevents authenticated request redirection (SurrealDB Advisory). As interim mitigations, restrict network egress from SurrealDB instances to only trusted destinations, limit ML export permissions to only users who require them, and implement network segmentation to reduce the impact of any captured session tokens. Monitor for ExportMl/ExportBytesMl commands containing absolute URLs in model name fields.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."