Read the docs

Server-side request forgery in SurrealDB ML model export leaks session tokens

Priority LOW 24CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

SurrealDB before 4.0.0 contains a server-side request forgery flaw in its remote HTTP client router, which passes raw model names to Url::join during ML export. An authenticated attacker can supply an absolute URL as the model name in ExportMl or ExportBytesMl commands to redirect requests and capture session tokens (CWE-918).

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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 now

EPSS 0.00338 19th percentileScored 2026-11-30
Fix Fixed surrealdb (surrealdb): 4.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealdbbefore 4.0.04.0.0Patch availableCNA
  • surrealdb Vendorsurrealdb Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*——surrealdb
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* Versions — — ·surrealdb

Remediation

Upgrade surrealdb to version 4.0.0 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA surrealdb (surrealdb) Fixed in 4.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    surrealdb 4.0.0

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2026-98923 Authorization bypass in SurrealDB JavaScript query bridgePriority LOW 38
    • TI-2026-98921 Information disclosure in SurrealDB RELATE endpoint override errorsPriority LOW 24

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137489
  2. 2026-11-27 Alias added: GHSA-mxhj-6r53-8595

References

  • TI-2026-96302 SurrealDB Memory Exhaustion via GraphQL WebSocket Upgrade CVSS 4.0HIGH 8.7
  • TI-2026-84301 MCP session hijack in SurrealDB via BoundSubject collision CVSS 4.0HIGH 8.6
  • TI-2026-96306 Out-of-bounds read in SurrealKV InternalKeyRef decoder CVSS 4.0HIGH 8.3
  • TI-2026-96310 Authorization bypass in SurrealDB via COMPUTED field permissions CVSS 4.0HIGH 7.1
  • TI-2026-96305 Decimal overflow in SurrealDB math functions crashes the server CVSS 4.0HIGH 7.1
  • TI-2026-96295 Information disclosure in SurrealDB via ON DELETE REJECT errors CVSS 4.0HIGH 7.1
See all 97 →

Sources