{
  "id": "CVE-2026-121417",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-121417",
  "published_at": "2026-11-03T14:28:15.135Z",
  "title": "SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends",
  "vendor": "surrealdb",
  "product": "surrealdb",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "surrealdb",
        "product": "surrealdb",
        "ranges": [
          "\u003c 3.3.0"
        ],
        "fixed_in": [
          "3.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade surrealdb to 3.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
