Skip to main content

Apache Calcite Avatica CVE-2026-70410

| EUVDEUVD-2026-84533 HIGH
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
2026-09-22 apache GHSA-rqpp-92mg-pcvc
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Avatica plugin-instantiation API
  2. Delivery
    Supply externally-controlled class name
  3. Exploit
    Class.forName triggers class initialization
  4. Execution
    Static initializer of chosen class executes
  5. Impact
    Limited, gadget-dependent side effects

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
Exploitation Conditions

Exploitation requires an application built on Apache Calcite Avatica before 1.29.0 that routes externally-controlled input into a plugin-instantiation API (AvaticaUtils#instantiatePlugin or equivalent), allowing the attacker to specify an arbitrary class name. Two additional prerequisites strongly limit real-world impact: (1) a class with a dangerous static-initializer block must already be present on the server classpath - the vendor states no well-known/widely-used class meets this today; and (2) the attacker must be positioned to control the class-name parameter, which typically means influencing connection/configuration properties rather than a fully anonymous request. Absent a suitable gadget class, the flaw yields no meaningful impact.

Impact

This is a low-real-risk issue despite the potential severity implied by the 'RCE' tag. No CVSS score or vector is provided by any source (NVD, vendor, or CVE.org all N/A), so severity signals rest almost entirely on the vendor's own qualitative statement. Apache (the reporting party) explicitly declares the severity LOW, reasoning that while AvaticaUtils#instantiatePlugin uses Class.forName(String) - which by default triggers class initialization and thus static-initializer execution of arbitrary classpath classes - there are no well-known or widely used classes bearing dangerous static initializers. This makes the flaw a latent, gadget-dependent primitive rather than a demonstrated code-execution path. There is no EPSS score, no CISA KEV listing, and no public exploit code identified, all of which are consistent with a low-priority, theoretical weakness. The single reference is an Apache mailing-list advisory; no independent corroboration or CPE beyond the vendor product string exists. Net assessment: real exploitability is contingent on both an attacker controlling the class-name input AND a suitable dangerous static-initializer gadget existing on the target classpath - a condition the vendor states is not met by common libraries today.

Exploit ScenarioDerived

An attacker able to influence a plugin class-name string consumed by an Avatica plugin-instantiation API supplies the fully-qualified name of a class present on the server classpath; Class.forName loads and initializes it, executing its static initializer block. Impact is limited to whatever side effects that static initializer produces, and the vendor notes no widely-used class has a dangerous initializer, so practical impact is minimal. No public proof-of-concept exploit exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Unsafe reflection in Apache Calcite Avatica before 1.29.0 allows an attacker who can influence plugin-instantiation parameters to force the loading and static initialization of arbitrary classes on the server classpath. Exploitation requires low privileges (PR:L per the assessed CVSS vector) and a dangerous static-initializer gadget already present on the classpath; the vendor states no well-known class currently satisfies this, so real-world risk is low despite the RCE tag. No public exploit code or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to Apache Calcite Avatica 1.29.0, which restricts plugin instantiation to classes implementing the specified plugin interface and is the vendor-released patch for this issue. If immediate upgrade is not possible, restrict who can supply plugin class-name parameters: validate or allow-list plugin class names in configuration and connection properties, and prevent untrusted clients from setting them. Also review and prune unnecessary or untrusted JARs from the server classpath to eliminate potential static-initializer gadgets; this may reduce functionality if legitimate optional dependencies are removed. Apply the vendor advisory at https://lists.apache.org/thread/07vwvsnbskhf5kvksn5t5l9qjozv2rk4 for version-specific guidance. Note that no public exploit has been identified, so the priority is to maintain controlled configuration input rather than emergency patching.

Affected VersionsENISA

Apache Calcite Avatica 0 <1.29.0

Affected Packages

euvd apache_calcite_avatica fix: 1.29.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Calcite Avatica is a JDBC driver framework and wire protocol used by Apache Calcite, Apache Phoenix, Apache Drill, and other Java data-processing projects. The vulnerability (CWE-470, Unsafe Reflection) resides in AvaticaUtils#instantiatePlugin and similar methods that call Class.forName(String) without restricting the resolved class to the expected plugin interface. Because Class.forName initializes the class by default, an attacker-controlled class name can trigger arbitrary static initializer blocks. The affected CPE is cpe:2.3:a:apache_software_foundation:apache_calcite_avatica:*:*:*:*:*:*:*:* (all versions before 1.29.0). The assessed CVSS vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L, reflecting network reachability, high attack complexity due to the gadget prerequisite, and low confidentiality/integrity/availability impact. The flaw is only actionable if a class with a dangerous static initializer exists on the classpath and the attacker can influence the plugin class-name parameter, typically via connection or configuration properties.

Know when Apache Calcite Avatica gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 8.8 LOW
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.0 MEDIUM

AC:H because exploitation needs a dangerous static-init gadget on the classpath (vendor says none commonly exist); PR:L as controlling the class-name input generally requires connection/config access; impact capped at L/L/L given only static-initializer side effects.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 0.0 LOW

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Sep 22, 2026 - 17:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Medium
Java JDBC/RPC framework embedded in several Apache data systems (Druid, Phoenix, Kylin)
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy