CVE-2026-65831: ArcadeDB: Privilege escalation via reader role in /api/v1/command JS scripting language — arbitrary host file read
ArcadeDB is a Multi-Model DBMS. Prior to 26.7.1, a reader-role user can submit POST /api/v1/command/{database} with language: js because PolyglotQueryEngine.command, PolyglotQueryEngine.analyze, and PolyglotQueryEngine.registerFunctions do not enforce database-administrator authorization. GraalPolyglotEngine also permits scripts to bypass the allowedPackages whitelist by reflecting from the bound database object through database.getClass().getClassLoader().loadClass to arbitrary host classes. These cooperating defects allow a read-only database user to read arbitrary host files outside the database scope. Process creation is already blocked, so OS command execution is not confirmed. The issue is distinct from CVE-2026-44221, CVE-2026-54076, and CVE-2026-54077. This issue is fixed in version 26.7.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ArcadeDBto a version that resolves this vulnerability.Fixed in 26.7.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated ArcadeDB user with the reader role can exploit it. The attack is performed through a POST request to the /api/v1/command/{database} endpoint using the JavaScript language.
Are default reader-role restrictions sufficient to prevent exploitation?
No. The affected command, analysis, and function-registration paths do not enforce database-administrator authorization for JavaScript scripting, allowing a reader-role user to reach the vulnerable functionality.
What is the confirmed impact?
A reader-role user can use JavaScript reflection from the bound database object to bypass the allowedPackages whitelist and read arbitrary host files outside the database scope. OS command execution is not confirmed because process creation is blocked.
What version fixes the issue?
Upgrade ArcadeDB to version 26.7.1. Versions prior to 26.7.1 are affected.