Read the docs
TI-2022-18523 Aliases CVE-2022-39135GHSA-fj2m-w3wv-x9pr

Apache Calcite: potential XEE attacks

Priority MEDIUM 46CWE-611Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

Apache Calcite 1.22.0 introduced the SQL operators EXISTS_NODE, EXTRACT_XML, XML_TRANSFORM and EXTRACT_VALUE do not restrict XML External Entity references in their configuration, making them vulnerable to a potential XML External Entity (XXE) attack. Therefore any client exposing these operators, typically by using Oracle dialect (the first three) or MySQL dialect (the last one), is affected by this vulnerability (the extent of it will depend on the user under which the application is running). From Apache Calcite 1.32.0 onwards, Document Type Declarations and XML External Entity resolution are disabled on the impacted operators.

Why it matters now

EPSS 0.02248 82nd percentileScored 2026-11-07
Fix Partial Apache Calcite (Apache Software Foundation): 1.32.0org.apache.calcite:calcite-core (Maven): 1.32.0Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Calcite1.22.0 to before 1.32.01.32.0Patch availableCNA
—org.apache.calcite:calcite-core (Maven)1.22.0 to before 1.32.01.32.0Patch availableGHSA-fj2m-w3wv-x9pr
  • Apache Calcite VendorApache Affected 1.22.0 to before 1.32.0 Fixed in 1.32.0 Patch available CNA
  • org.apache.calcite:calcite-core (Maven) Vendor— Affected 1.22.0 to before 1.32.0 Fixed in 1.32.0 Patch available GHSA-fj2m-w3wv-x9pr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:calcite:*:*:*:*:*:*:*:*1.22.0 to before 1.32.0VulnerableApache
  • cpe:2.3:a:apache:calcite:*:*:*:*:*:*:*:* Versions 1.22.0 to before 1.32.0 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Calcite (Apache Software Foundation) Fixed in 1.32.0
  • Fix · GHSA-fj2m-w3wv-x9pr org.apache.calcite:calcite-core (Maven) Fixed in 1.32.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Not affected: 3 products
  • Red Hat Data Grid 8
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Data Grid 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39135
  2. 2026-10-03 Alias added: GHSA-fj2m-w3wv-x9pr

References

  • TI-2026-34343 Apache Calcite: A user-controled model can load arbitrary classes, leading to code execution CVSS 3.1MEDIUM 6.5
  • TI-2020-10931 Improper certificate validation in Apache Calcite CVSS 3.1MEDIUM 5.9

Sources