Intel

AIKIDO-2026-815013

surrealdb is vulnerable to Memory Corruption

CVE-2026-121417Published 4 days ago
November 16, 2026

78

CVE Score

High

Memory Corruption

Are you affected? Scan for Free

TL;DR

The kv-mem, kv-surrealkv, and kv-rocksdb backends move borrowed transaction state into an affinitypool worker. Safe code can leak the returned future, so the worker keeps using those borrows after they end. That is a use-after-free on the transaction.

How do I fix this?

Upgrade the surrealdb library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

1.0.0 - 3.2.6

Fixed in 3.3.0

Background info

surrealdb is vulnerable to Memory Corruption in versions 1.0.0 - 3.2.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea