CVE-2018-11786
HIGH 8.8CVSS 3.0Improper Privilege Management in Apache Karaf
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.
- Published
- 18 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-269
- Also known as
- GHSA-9448-c9wq-jg9v
- Sources
- NVDJSONOSV GHSA-9448-c9wq-jg9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | karafcpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:* |
< 4.2.0 | 4.2.0 |
| OSV | Maven | org.apache.karaf:apache-karaf | < 4.2.0 | 4.2.0 |
References
- http://karaf.apache.org/security/cve-2018-11786.txt · Patch, Vendor Advisory, WEB
- https://issues.apache.org/jira/browse/KARAF-5427 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-11786 · ADVISORY
- https://github.com/advisories/GHSA-9448-c9wq-jg9v · ADVISORY
- https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9@%3Cdev.karaf.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 18 Sep 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Dec 2018)