Skip to content
NewA calmer, faster ZeroHour

CVE-2026-130808

Missing feature ACL lets SSH viewers install bundles in Apache Karaf

CVSS 3.1
8.8 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-130808 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Apache Karaf's default feature-command ACL omits feature:requirement-add and feature:requirement-remove. An authenticated SSH user with only the ssh and viewer roles can run those commands because unmatched ACL rules are allowed. requirement-add makes the resolver download, install, and start an arbitrary bundle with the Karaf process's full authority, bypassing admin-only install restrictions. requirement-remove can uninstall features and bundles.

What to do: Upgrade to Apache Karaf 4.4.13 or 4.5.0. If etc/ files are preserved, add requirement-add = admin and requirement-remove = admin to org.apache.karaf.command.acl.feature.cfg, including child instances.

ProductAffectedFixed in
Apache Karaf—4.4.13 or 4.5.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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 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

Weakness
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

1 story