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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 14:16 UTC First seen by agentprime
- 31 Oct 2026, 14:16 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-fj2m-w3wv-x9pr
- OSV: GHSA-fj2m-w3wv-x9pr
- nvd.nist.gov/vuln/detail/CVE-2022-39135
- github.com/apache/calcite/commit/1ddc1c3a0c61
- github.com/apache/calcite/commit/ba80b9156afc0db26b194d97a031fcc0dc7f4c03
- calcite.apache.org/news/2022/09/10/release-1.32.0
- github.com/apache/calcite
- github.com/apache/calcite/blob/calcite-1.22.0/core/src/main/java/org/apache/calcite/runtime/XmlFunctions.java
- github.com/apache/calcite/blob/calcite-1.31.0/core/src/main/java/org/apache/calcite/runtime/XmlFunctions.java
- github.com/apache/calcite/blob/calcite-1.32.0/core/src/main/java/org/apache/calcite/runtime/XmlFunctions.java
- github.com/apache/calcite/tree/calcite-1.19.0/core/src/main/java/org/apache/calcite/runtime
- issues.apache.org/jira/browse/CALCITE-5263
- lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082
- security.snyk.io/vuln/SNYK-JAVA-ORGAPACHECALCITE-3021143