Advisory record · GHSA-fj2m-w3wv-x9pr

Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack

CVSS 9.8 CriticalCriticalEPSS 0.022 · 83rd percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 12 Sept 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.apache.calcite:calcite-coreMaven>=1.22.0, <1.32.01.32.0
Identifiers
GHSA-fj2m-w3wv-x9pr · CVE-2022-39135
Weakness (CWE)
CWE-611
Published
12 Sept 2022
Updated
29 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Apache Calcite (calcite-core, Maven) versions 1.22.0 up to but not including 1.32.0 are vulnerable to XML External Entity (XXE) attacks. The SQL operators EXISTS_NODE, EXTRACT_XML, XML_TRANSFORM and EXTRACT_VALUE do not restrict external entity references, so applications exposing them, typically through the Oracle or MySQL dialects, can be attacked. The impact depends on the privileges of the user the application runs under. Upgrade to calcite-core 1.32.0, which disables Document Type Declarations and external entity resolution on these operators.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.022, the 83rd percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:16 UTC First seen by agentprime
  2. 31 Oct 2026, 14:16 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.