Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-130808

CVE-2026-130808: Apache Karaf: feature requirement-add installs bundles from restricted SSH shell

Apache Software Foundation Apache Karaf

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-130808: high-severity vulnerability (CVSS 8.8) in Apache Software Foundation Apache Karaf.

What happened

Original description from the source: 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:<uri> (or feature:<name>). 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 the admin-only restrictions on feature:install and bundle:install. Similarly, feature:requirement-remove allows removing provisioning requirements and uninstalling features/bundles. MitigationUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0. For existing deployments or upgrades that preserve existing files in etc/, add the following rules to etc/org.apache.karaf.command.acl.feature.cfg (and any child instance etc/org.apache.karaf.command.acl.feature.cfg files): requirement-add = admin requirement-remove = admin

Why it matters

High severity, CVSS 8.8.

Affected products and versions

Apache Software Foundation Apache Karaf <= 4.4.12

ProductVersionsFixed in
Apache Software Foundation Apache Karaf<= 4.4.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-862

Relevant change history

  1. Published

    Preliminary advisory published.