GHSA-48qw-824m-86pr: ArcadeDB Privilege Escalation Vulnerability
HIGHGHSA-48qw-824m-86pr is a HIGH (CVSS 7.7) privilege escalation vulnerability (CWE-269: Improper Privilege Management) affecting ArcadeDB libraries in the Maven ecosystem. The issue involves privilege escalation via reader role in /api/v1/command js scripting language — arbitrary host file read. Remediation is available by upgrading affected packages to version 26.7.1.
GHSA-48qw-824m-86pr at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix GHSA-48qw-824m-86pr
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-server</artifactId>
<version>26.7.1</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-48qw-824m-86pr, 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.1), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. 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-48qw-824m-86pr Affected ArcadeDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.arcadedb:arcadedb-server
|
Maven |
< 26.7.1
|
26.7.1
|
References
Frequently Asked Questions
What is GHSA-48qw-824m-86pr?
Which ArcadeDB versions are affected?
What version fixes GHSA-48qw-824m-86pr?
Is arcadedb-server affected?
What is the CVSS score of GHSA-48qw-824m-86pr?
What CWE is associated with GHSA-48qw-824m-86pr?
How can I check Maven dependencies for GHSA-48qw-824m-86pr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-48qw-824m-86pr",
"modified" : "2026-07-16T20:13:20Z",
"published" : "2026-07-16T20:13:20Z",
"aliases" : [ ],
"summary" : "ArcadeDB: Privilege escalation via reader role in /api/v1/command JS scripting language — arbitrary host file read",
"details" : "### Impact\n\nA user holding only `reader` (read-only) privileges on a single database could execute arbitrary JVM code by sending a `\"language\": \"js\"` command to the `POST /api/v1/command/{database}` HTTP endpoint, and use it to read arbitrary files on the host filesystem (e.g. `/etc/passwd`, configuration files), outside the scope of the database itself.\n\nTwo cooperating defects made this possible:\n\n1. **Missing authorization on the scripting path (CWE-863 / CWE-269).** Polyglot script execution (`js` and other GraalVM languages) never went through the database authorization checks applied to SQL/Cypher, so any authenticated principal - regardless of database role - could run scripts.\n2. **Sandbox whitelist bypass.** The GraalVM sandbox restricts direct class lookups to a configured `allowedPackages` list, but a script could reach arbitrary classes by reflecting off the bound `database` object: `database.getClass().getClassLoader().loadClass(\"java.io.File\")`.\n\nProcess creation was already blocked (`allowCreateProcess(false)`), so the confirmed impact is host **file read**, not OS command execution. Confidentiality: High. Integrity/Availability: None.\n\nThis is a distinct entry point and root cause from CVE-2026-44221, CVE-2026-54076 and CVE-2026-54077, and is reproducible on builds that already contain those fixes.\n\n### Patches\n\nThe fix is applied in the engine so it covers every entry point (HTTP command, HA-forwarded commands, MCP `analyze`), not only the HTTP handler:\n\n- Polyglot script execution now requires the `updateSecurity` database-administrator permission on `command`, `analyze` and `registerFunctions`. The check runs on the request thread that carries the authenticated user and is a no-op in embedded mode and internal/system contexts (schema load, HA replication apply).\n- The GraalVM host-access policy now denies access to `java.lang.Class`, `java.lang.ClassLoader` and `java.lang.reflect` members, closing the reflection escape that bypassed `allowedPackages` - even for authorized administrators - while leaving normal method calls on bound objects and explicit `Java.type(...)` lookups (governed by `allowedPackages`) working.\n\n### Workarounds\n\nUntil upgraded, do not grant command/query access on the HTTP API to untrusted users, and treat any account that can reach `/api/v1/command` as capable of code execution. Note that after the fix, non-administrator accounts can no longer run `js`/polyglot scripts over HTTP.\n\n### Credit\n\nReported by @kyojune76.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.arcadedb:arcadedb-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "26.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ArcadeData/arcadedb/security/advisories/GHSA-48qw-824m-86pr"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ArcadeData/arcadedb"
}, {
"type" : "WEB",
"url" : "https://github.com/ArcadeData/arcadedb/releases/tag/26.7.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-16T20:13:20Z",
"nvd_published_at" : null
}
}