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

Source: https://junglewise.ai/threats/cve-2026-67341-arcadedb-authorization-bypass-in-define-function  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-01. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

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

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.

Technologies: [ArcadeData ArcadeDB](https://junglewise.ai/threats/technologies/arcadedb), [com.arcadedb:arcadedb-engine (Maven)](https://junglewise.ai/threats/technologies/com-arcadedb-arcadedb-engine). Vendors: [ArcadeData](https://junglewise.ai/threats/vendors/arcadedata), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-67341 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-67341 being exploited in the wild.

**How severe is CVE-2026-67341?** Critical severity, with a CVSS score of 9.8, published 1 August 2026.

**Which products and versions are affected?** ArcadeData ArcadeDB before 26.7.2; com.arcadedb:arcadedb-engine (Maven) ECOSYSTEM:introduced=0,fixed=26.7.2.

**Is there a fix for CVE-2026-67341?** Yes. com.arcadedb:arcadedb-engine (Maven): upgrade to 26.7.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-67341 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-67341?** Check whether you run ArcadeData ArcadeDB or com.arcadedb:arcadedb-engine (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.arcadedb:arcadedb-engine (Maven): upgrade to 26.7.2 or later

  ```sh
  # set com.arcadedb:arcadedb-engine to 26.7.2 in your pom.xml or build.gradle
  ```


## 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

## Identifiers

- CVE-2026-67341
- GHSA-vwjc-v7x7-cm6g

## 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

- [https://github.com/ArcadeData/arcadedb/security/advisories/GHSA-vwjc-v7x7-cm6g](https://github.com/ArcadeData/arcadedb/security/advisories/GHSA-vwjc-v7x7-cm6g)
- [https://www.vulncheck.com/advisories/arcadedb-before-authorization-bypass-via-sql-define-function](https://www.vulncheck.com/advisories/arcadedb-before-authorization-bypass-via-sql-define-function)

## Related threats

- [ArcadeDB improper authorization in wire-protocol connections](https://junglewise.ai/threats/cve-2026-119577-arcadedb-before-26-10-2-contains-an-improper-authorization)
- [ArcadeDB authorization bypass in GraphQL schema endpoint](https://junglewise.ai/threats/cve-2026-119576-arcadedb-from-21-12-1-before-26-10-2-contains-an-authorization)
- [ArcadeDB server-side request forgery in LOAD CSV](https://junglewise.ai/threats/cve-2026-119575-arcadedb-from-26-8-1-before-26-10-2-contains-a-server-side)
- [ArcadeDB remote code execution in Gremlin Groovy engine](https://junglewise.ai/threats/cve-2026-114059-arcadedb-before-26-10-1-contains-a-remote-code-execution)
- [ArcadeDB Bolt protocol missing authorization](https://junglewise.ai/threats/cve-2026-114058-arcadedb-from-26-2-1-before-26-10-1-contains-a-missing)
