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:<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
Published: 2026-11-24
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 24 Nov 2026 17:30:00 +0000

Type Values Removed Values Added
References

Tue, 24 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
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:<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
Title Apache Karaf: feature requirement-add installs bundles from restricted SSH shell
Weaknesses CWE-862
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-24T18:04:06.715Z

Reserved: 2026-11-17T16:21:39.745Z

Link: CVE-2026-130808

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-24T17:18:15.310

Modified: 2026-11-24T19:18:08.753

Link: CVE-2026-130808

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses