HIGH 8.8

CVE-2026-70410

Apache Calcite Avatica: Unrestricted class initialization when instantiating plugins

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.calcite.avatica » avatica-corepreliminary
< 1.29.0
1.29.0

Blast radius

1affected artifacts
2,667affected versions
2,727dependent artifacts (est.)
334,727dependent versions

72% of the dependent artifacts (1,981) still pull an affected version in their latest release.

DepthDependent versions
Direct
33,061
2 hops
46,203
3 hops
110,102
4 hops
91,698
5 hops
40,567
6 hops
13,096

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.