CVE-2026-54077: ArcadeDB IMPORT DATABASE Allows SSRF And Vulnerability

HIGH
Advisory Identifier: GHSA-8w86-m9h8-hvqg
CVSS 7.1
CWE-776 CWE-918 CWE-22
Published
Advisory Summary

CVE-2026-54077 is a HIGH (CVSS 7.1) import database allows ssrf and vulnerability (CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')) affecting ArcadeDB libraries in the Maven ecosystem. The issue involves import database allows ssrf and arbitrary local file read by authenticated users. Remediation is available by upgrading affected packages to version 26.6.1.

CVE-2026-54077 at a Glance

CVE Identifier CVE-2026-54077
GHSA Identifier GHSA-8w86-m9h8-hvqg
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Affected Product ArcadeDB
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.1

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:U/C:H/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-54077

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.

com.arcadedb:arcadedb-engine fixed: 26.6.1
<dependency>
    <groupId>com.arcadedb</groupId>
    <artifactId>arcadedb-engine</artifactId>
    <version>26.6.1</version>
</dependency>
Verify Direct and Transitive Dependencies

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 CVE-2026-54077, 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.6.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-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion'), where the product uses xml documents and allows their structure to be defined with a document type definition (dtd), but it does not properly control the number of recursive definitions of entities. 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

### Impact The SQL `IMPORT DATABASE` statement did not require administrative privileges and passed its source URL to the importer without validation. Any authenticated user with SQL command access (not only `root`/administrators) could therefore: - **Server-Side Request Forgery (CWE-918):** cause the server to issue HTTP(S) requests to arbitrary destinations, including cloud metadata endpoints (e.g. `169.254.169.254`) and internal-only services, and ingest the responses as queryable records. - **Arbitrary local file read (CWE-22):** read local files reachable by the server process (e.g. `/etc/passwd`, credential files) by importing `file://` paths, exposing their contents as records. The server administration endpoint (`/api/v1/server`) was already restricted to the `root` user and was **not** affected; the exposure was through the database SQL command/query endpoints (`/api/v1/command`, `/api/v1/query`). A related lower-severity hardening gap (CWE-776): the XML importer did not disable DTD processing, leaving entity-expansion (Billion Laughs) possible. ### Affected component `integration/src/main/java/com/arcadedb/integration/importer/SourceDiscovery.java` (no host allow-list for http(s); no path validation for `file://`), reached from `engine/.../query/sql/parser/ImportDatabaseStatement.java`. ### Patches - `IMPORT DATABASE` now requires the administrative `updateSecurity` permission (no-op in embedded mode). - Import sources are validated in `SourceDiscovery`: HTTP(S) hosts resolving to loopback / link-local / private (site-local) / wildcard / multicast addresses are blocked by default (`arcadedb.server.security.importBlockLocalNetworks`, default `true`), and an optional local-path allow-list (`arcadedb.server.security.importAllowedLocalPaths`) restricts `file://` reads. - The XML importer now disables DTD processing and external entities. Fixed in commit referenced by pull request [#4422](https://github.com/ArcadeData/arcadedb/pull/4422). ### Workarounds Restrict SQL command/query access to trusted administrative users; do not grant query access to untrusted users on servers that can reach sensitive networks or hold sensitive local files. Upgrading is strongly recommended. ### Credit Reported by Bin Luo (luob87709@gmail.com).

CVE-2026-54077 Affected ArcadeDB Versions

1 component(s)
Fixed Versions:
26.6.1
Product / Package Ecosystem Affected Versions Fixed Version
com.arcadedb:arcadedb-engine
Maven
< 26.6.1
26.6.1

References

Frequently Asked Questions

What is CVE-2026-54077?
CVE-2026-54077 is a security vulnerability in ArcadeDB involving IMPORT DATABASE allows SSRF and arbitrary local file read by authenticated users under CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion').
Which ArcadeDB versions are affected?
Affected versions include releases prior to 26.6.1 across affected packages: com.arcadedb:arcadedb-engine.
What version fixes CVE-2026-54077?
Upgrading to 26.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is arcadedb-engine affected?
Yes, com.arcadedb:arcadedb-engine is affected in releases prior to 26.6.1. Upgrade your dependency to 26.6.1 or later.
What is the CVSS score of CVE-2026-54077?
CVE-2026-54077 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L.
What CWE is associated with CVE-2026-54077?
CVE-2026-54077 is classified under CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') (The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.).
How can I check Maven dependencies for CVE-2026-54077?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.arcadedb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8w86-m9h8-hvqg",
  "modified" : "2026-07-16T20:05:56Z",
  "published" : "2026-07-16T20:05:56Z",
  "aliases" : [ "CVE-2026-54077" ],
  "summary" : "ArcadeDB: IMPORT DATABASE allows SSRF and arbitrary local file read by authenticated users",
  "details" : "### Impact\n\nThe SQL `IMPORT DATABASE` statement did not require administrative privileges and passed its source URL to the importer without validation. Any authenticated user with SQL command access (not only `root`/administrators) could therefore:\n\n- **Server-Side Request Forgery (CWE-918):** cause the server to issue HTTP(S) requests to arbitrary destinations, including cloud metadata endpoints (e.g. `169.254.169.254`) and internal-only services, and ingest the responses as queryable records.\n- **Arbitrary local file read (CWE-22):** read local files reachable by the server process (e.g. `/etc/passwd`, credential files) by importing `file://` paths, exposing their contents as records.\n\nThe server administration endpoint (`/api/v1/server`) was already restricted to the `root` user and was **not** affected; the exposure was through the database SQL command/query endpoints (`/api/v1/command`, `/api/v1/query`).\n\nA related lower-severity hardening gap (CWE-776): the XML importer did not disable DTD processing, leaving entity-expansion (Billion Laughs) possible.\n\n### Affected component\n\n`integration/src/main/java/com/arcadedb/integration/importer/SourceDiscovery.java` (no host allow-list for http(s); no path validation for `file://`), reached from `engine/.../query/sql/parser/ImportDatabaseStatement.java`.\n\n### Patches\n\n- `IMPORT DATABASE` now requires the administrative `updateSecurity` permission (no-op in embedded mode).\n- Import sources are validated in `SourceDiscovery`: HTTP(S) hosts resolving to loopback / link-local / private (site-local) / wildcard / multicast addresses are blocked by default (`arcadedb.server.security.importBlockLocalNetworks`, default `true`), and an optional local-path allow-list (`arcadedb.server.security.importAllowedLocalPaths`) restricts `file://` reads.\n- The XML importer now disables DTD processing and external entities.\n\nFixed in commit referenced by pull request [#4422](https://github.com/ArcadeData/arcadedb/pull/4422).\n\n### Workarounds\n\nRestrict SQL command/query access to trusted administrative users; do not grant query access to untrusted users on servers that can reach sensitive networks or hold sensitive local files. Upgrading is strongly recommended.\n\n### Credit\n\nReported by Bin Luo (luob87709@gmail.com).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.arcadedb:arcadedb-engine"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "26.6.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeData/arcadedb/security/advisories/GHSA-8w86-m9h8-hvqg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ArcadeData/arcadedb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeData/arcadedb/releases/tag/26.6.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-776", "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-16T20:05:56Z",
    "nvd_published_at" : null
  }
}