ArcadeDB Privilege Escalation via JavaScript Triggers
ArcadeDB versions before 26.7.3 insecurely expose the LocalDatabase object to JavaScript triggers, allowing attackers with schema update permissions to perform unauthorized administrative actions.
What's new
ArcadeDB versions prior to 26.7.3 contain a security flaw where the LocalDatabase object is bound into JavaScript trigger contexts with HostAccess.ALL. This misconfiguration allows users with the UPDATE_SCHEMA permission to execute arbitrary JavaScript code that bypasses the security manager. Specifically, an authenticated attacker can invoke sensitive methods such as getSecurity().createUser() without appropriate authorization checks. By creating a malicious database trigger, a low-privileged user can escalate their privileges to become a server-wide administrator. This vulnerability (CVE-2026-67356) represents a significant risk for environments where database schema management is delegated to non-administrative users.
Attack Chain
- Attacker authenticates to the ArcadeDB instance with valid credentials possessing
UPDATE_SCHEMApermissions. - Attacker interacts with the database management API or console to define a new JavaScript trigger.
- The trigger is crafted to invoke the insecurely bound
LocalDatabaseobject. - The JavaScript execution context uses
HostAccess.ALL, providing the script unrestricted access to core internal objects. - The attacker's script calls
getSecurity().createUser()to provision a new administrative user. - The application fails to enforce permission checks during the method invocation due to the exposed context.
- A new account with administrative privileges is created.
- Attacker authenticates with the newly created admin account to achieve full server compromise.
Impact
Successful exploitation of this vulnerability allows an attacker to gain full administrative control over the ArcadeDB server. This can lead to complete data exfiltration, unauthorized modification or deletion of all databases, and persistent access to the underlying infrastructure. Organizations relying on ArcadeDB for critical data storage are at high risk if schema modification permissions are assigned to users who are not fully trusted.
Recommendation
- Upgrade ArcadeDB to version 26.7.3 or later immediately to restrict
HostAccessbindings in JavaScript contexts. - Review current user role assignments and revoke
UPDATE_SCHEMApermissions from any user accounts that do not require them. - Audit database triggers for suspicious JavaScript code that interacts with the
getSecurity()orcreateUser()methods.
Detection coverage 1
Detect ArcadeDB Cluster Token Impersonation Attempt
highDetects HTTP requests using X-ArcadeDB-Forwarded-User set to root, which indicates a potential impersonation attempt exploiting CVE-2026-67357.
Detection queries are available on the platform. Get full rules →