Skip to main content

SurrealDB EUVDEUVD-2026-136585

| CVE-2026-137489 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-26 VulnCheck
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with ML-export privileges
  2. Delivery
    Call ExportMl with absolute-URL model name
  3. Exploit
    Url::join redirects request to attacker host
  4. Execution
    Session tokens and headers sent to attacker
  5. Impact
    Reuse captured credentials for further access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated SurrealDB session (CVSS PR:L) with the ability to invoke the ML export commands Command::ExportMl or Command::ExportBytesMl, and an attacker-controlled model-name value that is an absolute URL. The flaw is in the remote HTTP client router where the raw model name is passed to Url::join without being constrained to a path segment. Limiting factors: the attacker must already hold valid low-privilege credentials and the privilege to run ML export; the deployment must be running a version before 4.0.0; and no end-user interaction is involved (UI:N). The token leakage only occurs via the ML export request path, so deployments that do not expose or use ML model export are not reachable through this vector.

Impact

This is a moderate-severity, authenticated SSRF with credential-leakage consequences rather than a drop-everything emergency. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network reachability and low attack complexity but requires at least low-level authentication (PR:L), so this is not an unauthenticated internet-wide threat. Exploitation status is 'no public exploit identified at time of analysis' - there is no CISA KEV listing and the input provides no confirmed working exploit code, only vendor/VulnCheck advisories describing the mechanism. No EPSS score was provided, so statistical exploitation likelihood cannot be quantified here. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with the picture of a credible, patch-this-cycle issue rather than widespread active exploitation. The real-world ceiling is meaningful because the flaw leaks live SurrealDB session tokens to an attacker-controlled host, but the authentication prerequisite and the need to issue ML export commands keep practical risk bounded. Note one tension to verify: the vendor's 4.0 impact metrics mark vulnerable-system confidentiality VC:N while the described impact is explicitly 'credential disclosure of SurrealDB session tokens' - that token leakage reads as a confidentiality impact, so the VC:N rating appears conservative relative to the description.

Exploit ScenarioDerived

An authenticated SurrealDB user with permission to run ML export issues an ExportMl or ExportBytesMl command supplying an absolute URL (e.g. https://attacker.com/ml) as the model name. Because Url::join treats an absolute URL as a destination replacement rather than a path segment, the remote HTTP client reissues the request to the attacker's server with the current session's authentication tokens and headers attached, handing the attacker valid credentials and achieving authenticated SSRF. No public working exploit is identified at time of analysis, though the GHSA/VulnCheck advisories document the mechanism in detail.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Server-side request forgery in SurrealDB before 4.0.0 allows an authenticated session to redirect an ML model export request to an attacker-controlled origin, leaking the session's authentication tokens and headers to that host. The flaw sits in the remote HTTP client router, where a user-supplied model name is passed to Url::join; supplying an absolute URL such as https://attacker.com/ml replaces the destination origin instead of being treated as a path segment. Exploitation requires valid low-privilege credentials plus the ability to invoke the ExportMl or ExportBytesMl commands, and no public exploit has been identified at time of analysis; SurrealDB 4.0.0 contains a vendor patch that pins the export request to its intended host.

RemediationAI

Upgrade to SurrealDB 4.0.0 or later, which contains the vendor patch that pins an ML export request to its intended host (commit a44fca7d74, referenced in advisory GHSA-7r2m-g5wf-pj9j), so an authenticated request can no longer be redirected to another host; the CPE and EUVD data confirm 4.0.0 as the fixed version and the package metadata lists rust/surrealdb as vulnerable below 4.0.0 and fixed in 4.0.0. Because the vulnerability is only reachable through the ML export commands, deployments that cannot upgrade immediately should reduce exposure by restricting which identities are permitted to invoke ML model export and by reviewing the SurrealDB capabilities configuration documented at https://surrealdb.com/docs/surrealdb/security/capabilities, with the trade-off that disabling or limiting that capability removes ML export functionality for legitimate users; this is a compensating measure, not a substitute for the upgrade, and rotating any SurrealDB session tokens that may have been used on a system where ML export was performed with an untrusted model name is warranted given the credential-leakage impact.

Affected VersionsENISA

surrealdb 0 <4.0.0

Affected Packages

euvd surrealdb fix: 4.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SurrealDB's remote HTTP client router (surrealdb/src/engine/remote/http/mod.rs, in the router as well as the Command::ExportMl and Command::ExportBytesMl handlers) builds the export endpoint by appending the raw model name to a base URL through the Rust url crate's Url::join. Under standard relative-reference resolution, an absolute URL is treated as a target replacement rather than a path segment, so a model name like https://attacker.com/ml resets the scheme and authority and causes the already-authenticated HTTP client to send the export request - including the current session's authentication tokens and headers - to the attacker's server. The issue is classified as CWE-918 (Server-Side Request Forgery), with the distinguishing consequence being credential disclosure rather than a purely internal network pivot. The documented fix pins an ML export request to its intended host so it can no longer be redirected; the advisory also recommends URL-encoding model names or using url.path_segments_mut() to force strict path-segment treatment. Note that the CVSS 4.0 vector in the CVE record and the independently assessed CVSS 3.1 vector agree on network attack, low privileges, no user interaction and changed scope, but the trigger conditions beyond the absolute-URL model name are not described in the available sources.

Know when Surrealdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
vuln.today AI 6.4 MEDIUM

Authenticated ML-export caller (PR:L) over the network with low complexity; SSRF redirects requests to another host (S:C) leaking session tokens (C:L) and redirecting authenticated requests (I:L), with no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

1
Patch available
Nov 26, 2026 - 17:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
emerging multi-model database, modest production deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2025-71392 CRITICAL
9.4 Jul 18

Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica

CVE-2026-134292 CRITICAL
9.3 Nov 21

SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed

CVE-2026-63756 CRITICAL
9.2 Jul 20

Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act

CVE-2026-134299 HIGH
8.7 Nov 21

Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo

CVE-2026-134293 HIGH
8.8 Nov 21

SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow

CVE-2026-134295 HIGH
8.7 Nov 21

Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an

CVE-2026-134291 HIGH
8.7 Nov 21

Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read

CVE-2026-134309 HIGH
8.7 Nov 21

SurrealDB 1.0.0 through 3.x lets an authenticated user with only the database-level VIEWER role read, modify, and delete

CVE-2026-121417 HIGH
8.8 Nov 03

Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a

CVE-2026-134294 HIGH
8.7 Nov 21

Cross-bucket file disclosure and modification on Windows affects SurrealDB versions 3.0.0 up to but not including 4.0.0

CVE-2026-63760 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web

CVE-2026-63747 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy