CVE-2026-121417surrealdb Use After Free
NVD
Vulnerability Summary
SurrealDB before 3.3.0 contains a use-after-free vulnerability in surrealdb-core KV backends that pass borrowed transaction state into affinitypool::spawn_local closures relying on future Drop for safety. Rust embedders that leak a dispatched future (e.g. via mem::forget) and drop the transaction cause pool workers to read and write freed memory, risking crashes or memory corruption.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)High
Show CVSS v3.x metrics (score 7.8)
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- surrealdb < 3.3.0
- surrealdb 3.3.0
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run surrealdb and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 3, 2026Published
- Nov 3, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new surrealdb CVEsYou are reading CVE-2026-121417. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore surrealdb CVEs
External References
- Vendor Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
- Patchhttps://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a
- Referencehttps://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends
Data last checked: Nov 21, 2026 19:08 UTC