Junglewise Threat Intelligence

CVE-2026-67341: ArcadeDB authorization bypass in DEFINE FUNCTION

CVE-2026-67341 · Severity: critical · CVSS 9.8 · Published 2026-08-01

Technologies: com.arcadedb:arcadedb-engine (Maven), ArcadeData ArcadeDB. Vendors: Maven, ArcadeData.

Executive brief

ArcadeDB is a NoSQL database engine that supports scripting for advanced functionality. A flaw in versions before 26.7.2 allows any user with database access—including read-only users—to execute arbitrary JavaScript code by bypassing security controls meant to restrict scripting to administrators. This enables attackers to extract sensitive data, manipulate database content, perform server-side attacks, or cause denial of service.

Technical details

The vulnerability is an authorization bypass (CWE-863) in the SQL DEFINE FUNCTION statement handler. Previous security hardening (GHSA-48qw) added authorization checks to the polyglot engine, but the SQL code path (DefineFunctionStatement.executeSimple) was left unprotected and does not invoke the authorization gate. An authenticated attacker with any database role can submit a DEFINE FUNCTION statement with LANGUAGE js to register arbitrary JavaScript, then execute it via SELECT. While Java reflection is blocked, IOAccess.ALL permits load(url) for SSRF/remote-code inclusion and unbounded resource consumption. The fix requires adding UPDATE_SECURITY authorization checks to DefineFunctionStatement, DeleteFunctionStatement, and the SQLQueryEngine library-function wrapper, and centralizing enforcement via an assertCanExecuteUserCode() method.

Affected products

  • ArcadeData ArcadeDB before 26.7.2

Timeline

  • 2026-07-09: disclosed: GitHub Security Advisory GHSA-vwjc-v7x7-cm6g published
  • 2026-08-01: advisory: CVE-2026-67341 published on NVD
  • 2026-07-09: patched: Fix included in version 26.7.2

References

Related threats