GHSA-vg6x-6pg9-6qwg

Suggest an improvement
Source
https://github.com/advisories/GHSA-vg6x-6pg9-6qwg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vg6x-6pg9-6qwg/GHSA-vg6x-6pg9-6qwg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vg6x-6pg9-6qwg
Aliases
Published
2026-07-16T20:08:24Z
Modified
2026-07-16T20:26:43Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
ArcadeDB: Read-only users can mutate database schema (incomplete fix of CVE-2026-44221)
Details

Impact

The fix for CVE-2026-44221 (GHSA-fxc7-fm93-6q77) added an UPDATE_SCHEMA authorization check to a single schema-mutating method (LocalDocumentType.createProperty). The remaining public schema mutators were left unchecked, so an authenticated identity (including a read-only API token) that lacks the UPDATE_SCHEMA permission could still mutate the database schema on its own database:

  • DROP PROPERTY <type>.<property>
  • ALTER TYPE <name> SUPERTYPE +<other> / -<other> (change the inheritance hierarchy)
  • ALTER TYPE <name> NAME <newName> (rename a type)
  • type alias and bucket changes
  • ALTER PROPERTY <type>.<property> ... (MANDATORY, READONLY, NOTNULL, MIN, MAX, REGEXP, DEFAULT, OF, CUSTOM) — the LocalProperty setters had no check at all

This does not directly disclose or write record data, but it corrupts the meaning of every stored record and breaches the documented permission model, which advertises UPDATE_SCHEMA as the gating right for schema mutation.

Affected component

Engine schema layer: engine/src/main/java/com/arcadedb/schema/LocalDocumentType.java and engine/src/main/java/com/arcadedb/schema/LocalProperty.java, reachable via the SQL DROP PROPERTY, ALTER TYPE, and ALTER PROPERTY statements over the database command/query HTTP endpoints.

Patches

Every public schema-mutating method on LocalDocumentType and LocalProperty now enforces checkPermissionsOnDatabase(UPDATE_SCHEMA) via a shared helper. The check is a no-op in embedded mode and in system contexts with no bound user (schema load at startup, HA replication apply), so internal paths and administrators are unaffected.

Workarounds

Grant write access only to trusted users and API tokens; treat all schema DDL as administrator-only at the application layer until upgraded.

Resources

Incomplete-fix sibling of CVE-2026-44221 / GHSA-fxc7-fm93-6q77.

Credit

Reported by Kai Aizen (SnailSploit).

Database specific
{
    "cwe_ids":  [
        "CWE-862",
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-16T20:08:24Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Maven / com.arcadedb:arcadedb-engine

Package

Name
com.arcadedb:arcadedb-engine
View open source insights on deps.dev
Purl
pkg:maven/com.arcadedb/arcadedb-engine

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
26.6.1

Affected versions

21.*
21.9.1-beta
21.9.1
21.10.1
21.10.2
21.11.1
21.12.1
22.*
22.1.1
22.1.2
22.1.3
22.2.1
22.8.1
22.9.1
22.10.1
22.11.1
22.12.1
23.*
23.1.1
23.1.2
23.2.1
23.3.1
23.4.1
23.5.1
23.6.1
23.7.1
23.9.1
23.10.1
23.11.1
23.12.1
23.12.2
24.*
24.1.1
24.2.1
24.4.1
24.5.1
24.6.1
24.10.1
24.11.1
24.11.2
25.*
25.1.1
25.2.1
25.3.1
25.3.2
25.4.1
25.5.1
25.6.1
25.7.1
25.8.1
25.9.1
25.10.1
25.11.1
25.12.1
26.*
26.1.1
26.2.1
26.2.2
26.3.1
26.3.2
26.4.2
26.5.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vg6x-6pg9-6qwg/GHSA-vg6x-6pg9-6qwg.json"