{"id":"CVE-2026-70410","published":"2026-09-22T16:17:52.930","lastModified":"2026-09-22T20:17:05.207","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.\n\n\n\nThis issue affects Apache Calcite Avatica: before 1.29.0.\n\n\n\nUsers are recommended to upgrade to version 1.29.0, which fixes the issue.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-470"],"vendors":[],"products":[],"references":[{"url":"https://lists.apache.org/thread/07vwvsnbskhf5kvksn5t5l9qjozv2rk4","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The flaw allows for the execution of arbitrary classes via unsafe reflection, potentially leading to the execution of static initializer blocks in arbitrary classes present in the classpath.","exploitability":"Exploitation requires control over input used to instantiate classes, making it moderately hard to exploit.","blast_radius":"If exploited, the impact could be severe, as it may lead to the execution of arbitrary code, potentially leading to a complete compromise of the system.","remediation":"Upgrade to Apache Calcite Avatica version 1.29.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","unsafe-reflection","class-instantiation","static-initializer","java"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-28T08:55:04.570Z"}}