Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.arcadedb/arcadedb-engine
  4. ›
  5. GHSA-x9f9-r4m8-9xc2

GHSA-x9f9-r4m8-9xc2: ArcadeDB: Trigger scripts run with java.lang.* allowed, enabling OS command execution (RCE)

July 16, 2026

ScriptTriggerExecutor sets allowedPackages to java.lang., java.util., java.time., java.math. (ScriptTriggerExecutor.java:56); trigger creation is gated only at UPDATE_SCHEMA (LocalSchema.createTrigger:636). Permitting java.lang.* host-class lookup lets a trigger script do Java.type(“java.lang.Runtime”).getRuntime().exec(…) (or ProcessBuilder). The reflection denylist does not block Java.type host lookups, and allowCreateProcess(false) only restricts GraalVM’s guest process API, not a host Runtime.exec reached through HostAccess.ALL.

Exploit: a user with UPDATE_SCHEMA (schema admin, strictly less than security admin) runs CREATE TRIGGER … EXECUTE JAVASCRIPT ‘<runtime.exec>’ and obtains OS RCE when the trigger fires.

Fix: remove java.lang.* (and narrow the rest) from the trigger allow-list; if host interop is needed, expose an explicit @HostAccess.Export API surface instead of whole packages; consider gating trigger creation at UPDATE_SECURITY. Prefer an allow-list (HostAccess.EXPLICIT) over the current denylist-over-HostAccess.ALL.

Related medium/low items to fold into the fix: IMPORT DATABASE SSRF via unfollowed-redirect re-validation (SourceDiscovery.java:113), BACKUP/EXPORT DATABASE missing authorization (BackupDatabaseStatement.java:56, ExportDatabaseStatement.java:52), chunked-transfer body-size DoS bypass (HttpServer.java:301,318-333), and no brute-force lockout on password auth (ServerSecurity.java:189-205).

References

  • github.com/ArcadeData/arcadedb/releases/tag/26.7.2
  • github.com/ArcadeData/arcadedb/security/advisories/GHSA-x9f9-r4m8-9xc2
  • github.com/advisories/GHSA-x9f9-r4m8-9xc2

Code Behaviors & Features

Detect and mitigate GHSA-x9f9-r4m8-9xc2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.7.2

Fixed versions

  • 26.7.2

Solution

Upgrade to version 26.7.2 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/com.arcadedb/arcadedb-engine/GHSA-x9f9-r4m8-9xc2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:53 +0000.