Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.arcadedb/arcadedb-server
  4. ›
  5. GHSA-x8mg-6r4p-87pf

GHSA-x8mg-6r4p-87pf: ArcadeDB has cross-database IDOR: /ts/*, /batch/*, Prometheus and Grafana handlers bypass authorization

July 16, 2026

About 14 HTTP handlers resolve the {database} path param and call getDatabase(…) WITHOUT user.canAccessToDatabase(…) and without setting the engine principal, because they extend AbstractServerHttpHandler directly instead of DatabaseAbstractHandler (which holds the only per-database gate at DatabaseAbstractHandler.java:69,88-90). Affected: PostBatchHandler:129, PostTimeSeriesWriteHandler:115, PostPrometheusWriteHandler:83, PostTimeSeriesQueryHandler:69, GetTimeSeriesLatestHandler:58, PostGrafanaQueryHandler:69, GetGrafanaHealthHandler:49, GetGrafanaMetadataHandler:52, GetPromQLQueryHandler:63, GetPromQLQueryRangeHandler:71, GetPromQLLabelsHandler:56, GetPromQLLabelValuesHandler:62, GetPromQLSeriesHandler:72, PostPrometheusReadHandler:85. The engine fallback is also void: LocalDatabase.checkPermissionsOnDatabase:711 early-returns when getCurrentUser()==null.

Exploit: a user authorized only for DB ‘a’ calls POST /api/v1/batch/b, POST /api/v1/ts/b/write, GET /api/v1/ts/b/prom/api/v1/query, POST /api/v1/ts/b/query -> full read AND write of DB ‘b’ (200 OK). The equivalent /api/v1/command/b correctly returns 403.

Fix: re-parent these handlers to DatabaseAbstractHandler, or add a shared resolveAuthorizedDatabase() choke point that enforces canAccessToDatabase and sets the engine principal before getDatabase(…). Fail closed when the security context is absent.

References

  • github.com/ArcadeData/arcadedb/releases/tag/26.7.2
  • github.com/ArcadeData/arcadedb/security/advisories/GHSA-x8mg-6r4p-87pf
  • github.com/advisories/GHSA-x8mg-6r4p-87pf

Code Behaviors & Features

Detect and mitigate GHSA-x8mg-6r4p-87pf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.7.2

Fixed versions

  • 26.7.2

Solution

Upgrade to version 26.7.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-285: Improper Authorization

Source file

maven/com.arcadedb/arcadedb-server/GHSA-x8mg-6r4p-87pf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:24 +0000.