ZeroHour

CVE-2026-65831

niche

Authorization bypass and sandbox escape in ArcadeDB lets readers access host files

CVSS 3.1
7.7 high
EPSS
Published
()
Modified
AI analysis

ArcadeDB versions before 26.7.1 allow a low-privileged, reader-role database user to execute JavaScript against the server by sending POST /api/v1/command/{database} with language set to js, because PolyglotQueryEngine.command, analyze, and registerFunctions fail to require database-administrator authorization for polyglot commands. A second flaw in GraalPolyglotEngine lets such scripts escape the allowedPackages whitelist by reflecting from the bound database object (database.getClass().getClassLoader().loadClass) to load arbitrary host classes. The combined effect is that a read-only user can read arbitrary files on the host outside the database scope, though process creation is already blocked and OS command execution is not confirmed. Any deployment of ArcadeDB prior to 26.7.1 that exposes the HTTP API to untrusted or low-privilege users is affected; the issue is distinct from CVE-2026-44221, CVE-2026-54076, and CVE-2026-54077. No public proof of concept or exploitation in the wild is known, and the flaw is not on the CISA KEV list.

What to do: Upgrade ArcadeDB to version 26.7.1 or later, which fixes both the missing authorization check and the classloader reflection bypass. If upgrade is not immediately possible, restrict HTTP API access (especially POST /api/v1/command) to trusted administrators only and avoid provisioning reader-role accounts to untrusted users. Review server logs for low-privilege accounts submitting commands with language js, and investigate any evidence of unexpected host file access.

Affected
ArcadeData ArcadeDBprior to 26.7.1 (< 26.7.1)
Estimated exposure
nichelikely hundreds to a few thousand self-hosted ArcadeDB instances (order of magnitude 10^3) — ArcadeDB is a niche open-source multi-model DBMS with no published install counts, market share, or internet-exposure scan data available, so this is a rough estimate based on typical adoption of comparable self-hosted database projects.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-269, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.