CVE-2026-46718: Apache Calcite: A user-controled model can load arbitrary classes, leading to code execution
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Calcite.
This issue affects Apache Calcite: from 1.5.0 before 1.42.
Users are recommended to upgrade to version 1.42, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.calcite:calcite-coreto a version that resolves this vulnerability.Fixed in 1.42.0 - Upgrade
Upgrade
apache/calciteto a version that resolves this vulnerability.Fixed in 1.42 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2026-46718
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46718?
The severity of CVE-2026-46718 is medium with a CVSS score of 6.5.
How do I fix CVE-2026-46718?
To fix CVE-2026-46718, users should upgrade to Apache Calcite version 1.42 or later.
What impact does CVE-2026-46718 have?
CVE-2026-46718 allows a user-controlled model to load arbitrary classes, potentially leading to code execution.
Which versions of Apache Calcite are affected by CVE-2026-46718?
CVE-2026-46718 affects Apache Calcite versions prior to 1.42.
Is CVE-2026-46718 related to unsafe reflection?
Yes, CVE-2026-46718 is categorized under unsafe reflection due to the use of externally-controlled input to select classes.