CVE-2018-8027 is a critical-severity (CVSS 9.8) XML External Entity (XXE) vulnerability in org.apache.camel:camel-core. A fix is available for org.apache.camel:camel-core — see the affected versions and patch details below.
Apache is vulnerable to XXE in XSD validation processor
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.camel:camel-core☕org.apache.camel:camel-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Apache Camel 2.20.0 to 2.20.3 and 2.21.0 Core is vulnerable to XXE in XSD validation processor.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.camel:camel-core | ≥ 2.20.0&&< 2.20.4 | 2.20.4org.apache.camel:camel-core:2.20.4 |
| ☕Maven | org.apache.camel:camel-core | ≥ 2.21.0&&< 2.21.1 | 2.21.1org.apache.camel:camel-core:2.21.1 |
Affected Products
camelapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.camel:camel-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.camel:camel-core to 2.20.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-8027 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2018-8027 in your dependencies?
Find it across Maven, including transitive dependencies.