Home / Apache Software Foundation / Apache Camel / CVE-2026-91858
CVE-2026-91858: is it exploited, and which versions of Apache Software Foundation Apache Camel are affected and fixed?
CVE-2026-91858 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache Camel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Apache Camel from 4.0.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1 (CVE record by apache). Fixed in 4.18.5 and 4.22.1 (CVE record by apache). Severity: Medium (6.5, CVSS 3.1, from apache).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-91858?
Apache Camel: Camel-FOP Resolves External DTDs and Entities From Untrusted XSL-FO Input When a Third-Party JAXP TransformerFactory Is Present
FopProducer transforms the incoming XSL-FO message body by creating a javax.xml.transform.TransformerFactory through TransformerFactory.newInstance() and enabling only FEATURE_SECURE_PROCESSING before running an identity transform over the body. On the JDK's built-in transformer, that feature alone already empties the accessExternalDTD and accessExternalStylesheet limits, so an external DTD or entity is refused. When a third-party JAXP TransformerFactory such as Saxon-HE is on the classpath, for example because the application also uses camel-xslt-saxon or camel-saxon, TransformerFactory.newInstance() returns that implementation instead, and FEATURE_SECURE_PROCESSING on its own does not restrict external resource access on it. A DOCTYPE with an external subset, or an external general entity, declared in the XSL-FO document is then resolved and expanded while the body is transformed. An external sender whose XSL-FO reaches a fop producer could therefore read files readable by the Camel process and cause the process to issue requests to hosts the document names. camel-fop does not bring such a factory itself, and excludes Xalan, so a default deployment using the JDK transformer is not affected; the issue is reachable only where another component has placed an alternative JAXP TransformerFactory on the classpath. Releases on the 4.14.x line and earlier reached end of life before this issue was resolved and do not receive a fix.
From the CVE record by apache, last updated October 19, 2026, 14:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Camel org.apache.camel:camel-fop | from 4.0.0 before 4.18.5 from 4.19.0 before 4.22.1 | 4.18.5, 4.22.1 |
As the CVE record by apache states it, last updated October 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-91858?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | apache |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-91858 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 19, 2026)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 25.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
How do I fix it? (from the CVE record)
Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. FopProducer now also sets ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET to the empty string on the TransformerFactory it creates, in addition to FEATURE_SECURE_PROCESSING, matching the secure XML processing configuration used by org.apache.camel.converter.jaxp.XmlConverter, so external DTD and stylesheet access is refused on any JAXP implementation that honours those attributes. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade immediately, do not send untrusted XSL-FO to a fop producer. Alternatively, remove the third-party JAXP TransformerFactory such as Saxon-HE from the classpath, so that the JDK's built-in transformer is used, which already refuses external DTDs and external entities when secure processing is enabled.
Where are the vendor advisories and references?
- Apache Camel Security Advisory - CVE-2026-91858 vendor-advisory
- CAMEL-24605 issue-tracking
- Fix on main, released in 4.23.0 (commit 209c67a851d3c145583d25829b7ffac0c500674b) patch
- Backport to camel-4.22.x, released in 4.22.1 (commit f689a9c92f0e6c406f9a0256c7d940024cf56782) patch
- Backport to camel-4.18.x, released in 4.18.5 (commit 9c06c6d265d70be30023e7514456b697e91db69e) patch
Who found and reported it?
- Andrea Cosentino (finder)
- Andrea Cosentino (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 15, 2026
- Published
- October 19, 2026, 10:47 UTC
- CVE record updated
- October 19, 2026, 14:30 UTC by apache
- NVD
- Awaiting Analysis, last modified October 19, 2026, 20:45 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Camel?
- Dec 3, 2026CVE-2026-135919 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135918 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135917 Apache Software Foundation Apache Camel: unintended Proxy or Intermediary
- Dec 3, 2026CVE-2026-135916 Apache Software Foundation Apache Camel: improper Neutralization of CRLF Sequences
- Dec 3, 2026CVE-2026-135915 Apache Software Foundation Apache Camel: authentication bypass (improper authentication)
- Dec 3, 2026CVE-2026-133005 Apache Software Foundation Apache Camel: deserialization of untrusted data
- Dec 3, 2026CVE-2026-132829 Apache Software Foundation Apache Camel: improper certificate validation
- Dec 3, 2026CVE-2026-132828 Apache Software Foundation Apache Camel: sensitive data sent in clear text
Questions about CVE-2026-91858
Is CVE-2026-91858 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Camel are affected by CVE-2026-91858?
Apache Camel from 4.0.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-91858?
4.18.5 and 4.22.1, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-91858?
Medium (6.5, CVSS 3.1, from apache). The severity table above shows each score with its source.
Where is the official record of CVE-2026-91858?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.