Quick answers
- Is CVE-2026-46718 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-46718 being exploited in the wild.
- How severe is CVE-2026-46718?
- Medium severity, with a CVSS score of 6.5, published 2 June 2026.
- Which products and versions are affected?
- Apache Software Foundation Calcite 1.5.0 to 1.41.0; org.apache.calcite:calcite-core (Maven) >= 1.5.0, < 1.42.0, ECOSYSTEM:introduced=1.5.0,fixed=1.42.0.
- Is there a fix for CVE-2026-46718?
- Yes. org.apache.calcite:calcite-core (Maven): upgrade to 1.42.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-46718 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-46718?
- Check whether you run Apache Software Foundation Calcite or org.apache.calcite:calcite-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.apache.calcite:calcite-core (Maven): upgrade to 1.42.0 or later
# set org.apache.calcite:calcite-core to 1.42.0 in your pom.xml or build.gradle
Technical details
Apache Calcite is vulnerable to 'Unsafe Reflection' (CWE-470) within its model parsing component (calcite-core). The vulnerability exists because the framework uses externally-controlled input from a schema model to select and load Java classes (such as user-defined functions, JDBC drivers, or custom schemas) without sufficient validation or denylisting. An attacker who can provide a malicious model—for example, via a JDBC connection string or an inline model parser—can trigger the loading of arbitrary classes. This can be leveraged to achieve remote code execution (RCE) or unauthorized data access. The fix, introduced in version 1.42.0, implements a built-in denylist of restricted class patterns and provides a system property to extend this list.
Affected products
- Apache Calcite 1.5.0 to 1.41.0
Identifiers
- CVE-2026-46718
- GHSA-c2rv-hwqm-wjpg
Timeline
- 2026-05-16: other: Initial fix development started
- 2026-06-01: disclosed: Public disclosure on oss-security mailing list
- 2026-06-02: advisory: GitHub and NVD advisories published
- 2026-07-09: patched: GitHub advisory reviewed and updated with patch details