Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-46718 EUVD-2026-33906GHSA-c2rv-hwqm-wjpg

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

Published Jun 2, 2026 · Updated Jun 2, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Calcite 1.5.0 – < 1.42 1.42

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid No fix yet —
Wolfi rolling opensearch-3-discovery-ec2 +2 3.8.0-r3 —
Wolfi rolling opensearch-3-sql 3.7.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.calcite:calcite-core >= 1.5.0, < 1.42.0 1.42.0 GHSA-c2rv-hwqm-wjpg

References