CVE-2026-91858Apache Camel XML external entity (XXE)
CVSS score
6.5
Medium
CVSS 3.1 from apache.org
Exploit probability (EPSS)
0.31%
0.31% chance of exploitation in the next 30 days, higher than 23.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache Camel and compare its version with the affected versions.
Update to a fixed version
- Update Apache Camel to 4.18.5, 4.22.1 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| Apache Apache Camel | ≥ 4.0.0, < 4.18.5 · ≥ 4.19.0, < 4.22.1 |
Weakness
- CWE-611 XML external entity (XXE)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-91858 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-91858?
CVE-2026-91858 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Apache Apache Camel (≥ 4.0.0, < 4.18.5; ≥ 4.19.0, < 4.22.1)
Is there a patch for CVE-2026-91858?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.