Description
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Calcite Avatica. Plugin instantiation (via AvaticaUtils#instantiatePlugin and other methods) initializes arbitrary classes via unrestricted calls to Class.forName(String) which by default triggers initialization. This may lead to the execution of static initializer blocks in arbitrary classes present in the classpath. The instantiation APIs should initialize and instantiate only classes implementing the specified plugin interface passed as input in conjunction with the desired classname. At the moment of writing, there are no well-known or widely used classes with dangerous static initializer blocks so the severity is low.



This issue affects Apache Calcite Avatica: before 1.29.0.



Users are recommended to upgrade to version 1.29.0, which fixes the issue.
Published: 2026-09-22
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Unrestricted class initialization potentially leading to arbitrary static code execution
Action: Update to 1.29.0
AI Analysis

Impact

Use of unsafe reflection allows an attacker to trigger the static initializer of any class present in the application’s classpath. If that initializer performs privileged operations, the attacker could gain unauthorized privileges, modify data, or disrupt service. The vulnerability is classified as CWE‑470. While no widely deployed classes with dangerous static initializers are known, the potential remains if malicious or vulnerable classes are introduced.

Affected Systems

The issue is in Apache Calcite Avatica versions before 1.29.0. Systems running any affected release of Avatica may call AvaticaUtils.instantiatePlugin or similar APIs and automatically load a class identified by a supplied name.

Risk and Exploitability

The EPSS score is unavailable and the vulnerability is not in CISA’s KEV catalog, indicating no publicly reported exploitation yet. The attack would likely require control over the plugin name passed to the instantiation API or access to the application’s classpath. Because the trigger is internal to the library, the risk of remote exploitation is low unless an attacker can influence the plugin configuration. Nonetheless, the presence of unrestricted class initialization makes it an actionable security concern. The CVSS score of 8.8 indicates high severity.

Generated by OpenCVE AI on September 22, 2026 at 21:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Calcite Avatica to version 1.29.0 or later.
  • If upgrading is not immediately possible, configure the application to use a restricted classpath that contains only trusted classes and remove any untrusted entries.
  • Disable or remove plugin instantiation functionality or validate the class name against a whitelist of approved plugin classes before calling instantiatePlugin.

Generated by OpenCVE AI on September 22, 2026 at 21:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache apache Calcite Avatica
Vendors & Products Apache
Apache apache Calcite Avatica

Tue, 22 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
Description Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Calcite Avatica. Plugin instantiation (via AvaticaUtils#instantiatePlugin and other methods) initializes arbitrary classes via unrestricted calls to Class.forName(String) which by default triggers initialization. This may lead to the execution of static initializer blocks in arbitrary classes present in the classpath. The instantiation APIs should initialize and instantiate only classes implementing the specified plugin interface passed as input in conjunction with the desired classname. At the moment of writing, there are no well-known or widely used classes with dangerous static initializer blocks so the severity is low. This issue affects Apache Calcite Avatica: before 1.29.0. Users are recommended to upgrade to version 1.29.0, which fixes the issue.
Title Apache Calcite Avatica: Unrestricted class initialization when instantiating plugins
Weaknesses CWE-470
References

Subscriptions

Apache Apache Calcite Avatica
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-22T19:19:02.893Z

Reserved: 2026-08-04T11:08:06.676Z

Link: CVE-2026-70410

cve-icon Vulnrichment

Updated: 2026-09-22T19:18:59.093Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-22T16:17:52.930

Modified: 2026-09-22T20:17:05.207

Link: CVE-2026-70410

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T21:45:06Z

Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')