Maven
CVE-2026-130808
Apache Karaf: feature requirement-add installs bundles from restricted SSH shell
- Severity
- High
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Weakness
- Missing authorization (CWE-862)
- Sources
- CVE Program
Description
In Apache Karaf, the default command ACL configuration for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg, defined in assemblies/features/standard/src/main/feature/feature.xml and the child-instance template instance/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start, and feature:stop to users with the admin role, while leaving feature:requirement-add and feature:requirement-remove without ACL entries.
Because Karaf's command guard (SecuredSessionFactoryImpl) allows commands with no matching ACL rule (NO_MATCH) to execute, an authenticated SSH user holding only the ssh and viewer roles can execute feature:requirement-add bundle: (or feature:). RequirementAdd forwards the requirement directly to FeatureService.addRequirements(), causing the resolver to download, install, and start an arbitrary bundle with the Karaf JVM process's full authority, bypassing…
Affected software
| Software | Affected versions |
|---|---|
org.apache.karaf:apache-karafMaven · osv:Maven:org.apache.karaf:apache-karaf |
|
About org.apache.karaf:apache-karaf
Vulnerabilities in org.apache.karaf:apache-karaf
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-124615Apache Karaf: feature:requirement-add / feature:requirement-remove command ACL bypass allows a viewer to install and run arbitrary codeHigh 8.8 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-130808