CVE-2018-11786Apache Karaf
High 8.8
Follow: this CVE · Apache · Apache Karaf We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.0
- 8.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- Yes
- Published
- Sep 18, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Karaf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.karaf:apache-karaf |
< 4.2.0 |
4.2.0 |
— |
Per OSV / GitHub Advisories (GHSA-9448-c9wq-jg9v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | karaf | < 4.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- karaf.apache.org Patch Vendor Advisory
- issues.apache.org Issue Tracking Patch Vendor Advisory
- lists.apache.org