Read the docs
TI-2026-67075 Aliases GHSA-vwjc-v7x7-cm6g

ArcadeDB: Scripting authorization gate (GHSA-48qw-824m-86pr) bypassed via SQL DEFINE FUNCTION ... LANGUAGE js

Priority LOW 38CWE-74Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

The GHSA-48qw-824m-86pr hardening added a checkPermissionsOnDatabase(UPDATE_SECURITY) gate on the polyglot engine (PolyglotQueryEngine.java:112-114,126,176,199), but only there. The SQL route to JavaScript never touches it: DefineFunctionStatement.executeSimple (DefineFunctionStatement.java:37-100), LocalSchema.registerFunctionLibrary, and SQLQueryEngine library-function invocation (SQLQueryEngine.java:198-224) do no scripting-permission check. Exploit: any user authorized for the DB (including a read-only role) runs POST /api/v1/command/<db> {"language":"sql","command":"DEFINE FUNCTION x.run \"<js>\" LANGUAGE js"} then SELECT x.run(), executing arbitrary JavaScript and defeating the control meant to restrict scripting to security admins. On this path allowedPackages is empty so Java.type host lookup and reflection are blocked, but IOAccess.ALL still permits load(url) SSRF/remote-JS inclusion and unbounded CPU/memory DoS. Fix: gate DefineFunctionStatement.executeSimple, the SQLQueryEngine library-function wrapper (to also cover pre-existing libraries), and DeleteFunctionStatement with UPDATE_SECURITY for js/polyglot languages. Centralize as one assertCanExecuteUserCode(database) invoked by every code-execution surface. Also set IOAccess.NONE / PolyglotAccess.NONE on the Context (GraalPolyglotEngine.java:86,91).

Why it matters now

Fix Fixed com.arcadedb:arcadedb-engine (Maven): 26.7.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—com.arcadedb:arcadedb-engine (Maven)before 26.7.226.7.2Patch availableGHSA-vwjc-v7x7-cm6g
  • com.arcadedb:arcadedb-engine (Maven) Vendor— Affected before 26.7.2 Fixed in 26.7.2 Patch available GHSA-vwjc-v7x7-cm6g

Remediation

  • Fix · GHSA-vwjc-v7x7-cm6g com.arcadedb:arcadedb-engine (Maven) Fixed in 26.7.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-vwjc-v7x7-cm6g

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences