Apache Karaf provides a features deployer, which allows users to "hot deploy" a features XML by dropping the file directly in the deploy folder. The features XML is parsed by XMLInputFactory class. Apache Karaf XMLInputFactory class doesn't contain any mitigation codes against XXE. This is a potential security risk as an user can inject external XML entities in Apache Karaf version prior to 4.1.7 or 4.2.2. It has been fixed in Apache Karaf 4.1.7 and 4.2.2 releases.
CVE-2018-11788
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 7.5%, top 6% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 65(Track*)EG Risk 65/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 93.8%
- KEV
- Not listed
Published
January 7, 2019
Last Modified
November 21, 2024
Advisory Details (2)
Auto-updated May 28, 2026Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.karaf.specs:org.apache.karaf.specs.java.xml | — | 4.1.7 | — |
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCbrianwrf/CVE-2018-11788First seen Jan 6, 2019
Apache Karaf XXE Vulnerability (CVE-2018-11788)
Open source ↗
Frequently asked(5)
What is CVE-2018-11788?
When was CVE-2018-11788 disclosed?
Is CVE-2018-11788 actively exploited?
What is the CVSS score of CVE-2018-11788?
How do I remediate CVE-2018-11788?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-11788
Is Your Infrastructure Affected by CVE-2018-11788?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.