Skip to content

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.

PackageAffectedFixed inStatus
crates.io surrealdb >= 2.0.0, < 3.3.1 3.3.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb >= 2.0.0, < 3.3.1 3.3.1

References