CVE-2026-121416 SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
- Exploited in the wild
- Not known
- Fix
- 3.3.1
What is CVE-2026-121416?
CVE-2026-121416 is a high-severity vulnerability in surrealdb, published on 3 Nov 2026.
Official description
SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function calls in the streaming engine, because MethodPart::evaluate invokes resolved functions without a capability check. Authenticated users who can submit queries can run denied functions via method syntax, e.g. [1,2].map() or $f.put()/$f.get() to write and read file bucket data despite file::* denials.
Weakness: CWE-284
Which versions are affected by CVE-2026-121416?
1 open source package ship an affected version, including surrealdb.
| Package | Affected | Fixed in |
|---|---|---|
surrealdb crates.iopkg:cargo/surrealdb | From 2.0.0 | 3.3.1 |
How do I fix CVE-2026-121416?
Upgrade surrealdb to 3.3.1 or later.
Is CVE-2026-121416 being exploited?
There is no known exploitation of CVE-2026-121416 in the wild and no public exploit code.
Sources
Also known as GHSA-347j-rmf7-f74x, GHSA-p296-7pr4-87rr.