CVE-2026-121416 SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
HighCVSS 7.1
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 2.0.0, < 3.3.1 | 3.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 2.0.0, < 3.3.1 | 3.3.1 |
References
- GitHub Security Advisory (GHSA-p296-7pr4-87rr) vendor-advisory
- VulnCheck Advisory: SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations third-party-advisory
- ENISA EUVD EUVD-2026-115948 third-party-advisory