cvelo
P2 · HighCVSS 7.1EPSS 0.3%

SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations

  • CVE-2026-121416
  • GHSA-347j-rmf7-f74x
  • EUVD-2026-115948

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.

Text from the CVE.org record.

Recommendation

  • surrealdb

    • If you run a version from 2.0.0 to before 3.3.1update to 3.3.1 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • surrealdb

    Affected versionsFixed in
    from 2.0.0 to before 3.3.13.3.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.