CVE-2026-46718
Apache Calcite is Vulnerable to Use of Externally-Controlled Input to Select Classes
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.calcite » calcite-core | >= 1.5.0, < 1.42.0 | 1.42.0 |
Blast radius
67% of the dependent artifacts (1,848) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 67,608 |
| 2 hops | 114,987 |
| 3 hops | 60,232 |
| 4 hops | 73,500 |
| 5 hops | 37,062 |
| 6 hops | 12,329 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.solr » solr-core500 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.flink » flink-table-planner471 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.hive » hive-serde206 usages
- org.apache.flink » flink-table-planner-blink197 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-46718
- Webhttps://github.com/apache/calcite/commit/5855cfa14d8038e2a123ff6ce9722edce0e0cc25
- Packagehttps://github.com/apache/calcite
- Webhttps://issues.apache.org/jira/browse/CALCITE-7532
- Webhttps://lists.apache.org/thread/9s37svo343w5ck1ovh478lkzcqk4949v
- Webhttp://www.openwall.com/lists/oss-security/2026/06/01/7
