{"id":"CVE-2026-130808","aliases":["CVE-2026-130808"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Karaf: feature requirement-add installs bundles from restricted SSH shell","summary":"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.\n\n\nBecause 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.\n\nMitigationUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.\n\n\n\n\nFor 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):\n\n\n\n\nrequirement-add = admin \n\nrequirement-remove = admin","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\nBecause 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.\n\nMitigationUsers are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0.\n\n\n\n\nFor 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):\n\n\n\n\nrequirement-add = admin \n\nrequirement-remove = admin","source":"cvelist"}],"published":"2026-11-24T16:59:36.201Z","modified":"2026-12-02T19:06:03.953Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.4.12","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Karaf","package":"org.apache.karaf:apache-karaf","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread/j7xm2w7yzwnqtzjbdv353d8bygdkspl7","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/24/12","tags":[],"sources":["cvelist","nvd"]}],"credits":["hataehoon"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-24T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-130808","url":"https://www.cve.org/CVERecord?id=CVE-2026-130808","licence":"CVE Terms of Use","modified":"2026-11-25T04:57:14.452Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-130808","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130808","licence":"Public domain","modified":"2026-12-02T19:06:03.953Z"}],"updatedAt":"2026-12-02T19:18:15.134Z","epss":{"score":0.00774,"percentile":0.56996,"date":"2026-12-02T12:00:21.000Z"}}