GHSA-x9f9-r4m8-9xc2: ArcadeDB Remote Code Execution Vulnerability
HIGHGHSA-x9f9-r4m8-9xc2 is a HIGH remote code execution vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting ArcadeDB libraries in the Maven ecosystem. The issue involves trigger scripts run with java.lang.* allowed, enabling os command execution (rce). Remediation is available by upgrading affected packages to version 26.7.2.
GHSA-x9f9-r4m8-9xc2 at a Glance
How to Fix GHSA-x9f9-r4m8-9xc2
To remediate this vulnerability, upgrade all affected ArcadeDB dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.arcadedb</groupId>
<artifactId>arcadedb-engine</artifactId>
<version>26.7.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.arcadedb
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-x9f9-r4m8-9xc2, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.arcadedb
Analyze the terminal output to locate any version of ArcadeDB in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 26.7.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.arcadedb command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In ArcadeDB, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-x9f9-r4m8-9xc2 Affected ArcadeDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.arcadedb:arcadedb-engine
|
Maven |
< 26.7.2
|
26.7.2
|
References
Frequently Asked Questions
What is GHSA-x9f9-r4m8-9xc2?
Which ArcadeDB versions are affected?
What version fixes GHSA-x9f9-r4m8-9xc2?
Is arcadedb-engine affected?
What CWE is associated with GHSA-x9f9-r4m8-9xc2?
How can I check Maven dependencies for GHSA-x9f9-r4m8-9xc2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x9f9-r4m8-9xc2",
"modified" : "2026-07-16T20:15:36Z",
"published" : "2026-07-16T20:15:36Z",
"aliases" : [ ],
"summary" : "ArcadeDB: Trigger scripts run with java.lang.* allowed, enabling OS command execution (RCE)",
"details" : "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.\n\nExploit: 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.\n\nFix: 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.\n\nRelated 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).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.arcadedb:arcadedb-engine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ArcadeData/arcadedb/security/advisories/GHSA-x9f9-r4m8-9xc2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ArcadeData/arcadedb"
}, {
"type" : "WEB",
"url" : "https://github.com/ArcadeData/arcadedb/releases/tag/26.7.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-16T20:15:36Z",
"nvd_published_at" : null
}
}