PT-2026-67321 · Arcadedb · Arcadedb
CVE-2026-67341
·
Published
2026-07-16
·
Updated
2026-08-01
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ArcadeDB versions prior to 26.7.2
Description
Insufficient authorization checks on the SQL DEFINE FUNCTION statement when using LANGUAGE js allow users with database access to execute arbitrary JavaScript code. This bypasses security controls intended to restrict scripting to administrators. The issue exists because the SQL route to JavaScript does not trigger the necessary permission checks in
DefineFunctionStatement.executeSimple(), LocalSchema.registerFunctionLibrary, and the SQLQueryEngine library-function invocation. An attacker can exploit this via the endpoint '/api/v1/command/' by submitting a command to define and then execute a function. While some Java reflection is blocked, the IOAccess.ALL setting allows for Server-Side Request Forgery (SSRF) via load(url), remote JavaScript inclusion, and denial-of-service (DoS) through unbounded CPU and memory consumption.Recommendations
Update to version 26.7.2 or later.
As a temporary mitigation, restrict access to the '/api/v1/command/' endpoint to authorized administrators only.
Exploit
Fix
Incorrect Authorization
Special Elements Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Arcadedb