Vulnerabilityin Apache Karaf.
No public exploit found; not on exploited lists.
In Apache Karaf prior to 4.2.0 release, if the sshd service in Karaf is left on so an administrator can manage the running instance, any user with rights to the Karaf console can pivot and read/write any file on the file system to which the Karaf process user has access. This can be locked down a bit by using chroot to change the root directory to protect files outside of the Karaf install directory; it can be further locked down by defining a security manager policy that limits file system access to those directories beneath the Karaf home that are necessary for the system to run. However, this still allows anyone with ssh access to the Karaf process to read and write a large number of files as the Karaf process user.
- Upgrade org.apache.karaf:apache-karaf (Maven) to 4.2.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 5 Jun 2018CVE ID reserved by apache.
- 18 Sep 2018Published in the CVE List.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Karaf vulnerabilities
- lists.apache.org mailing-list, x_refsource_MLIST
- issues.apache.org x_refsource_CONFIRM
- karaf.apache.org x_refsource_CONFIRM
Patchminder. CVE-2018-11786: Vulnerability in Apache Karaf. https://patchminder.com/cve/cve-2018-11786/ (accessed 5 December 2026).