Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.8CVE-2026-130808

Apache Karaf: ACL bypass via feature:requirement-add in restricted SSH shell

Published 24/11/2026 · Updated 25/11/2026 · Apache Karaf

Summary

In Apache Karaf (versions up to and including 4.4.12), the default command ACL configuration for the "feature" scope restricts feature:install, feature:uninstall, feature:start and feature:stop to the admin role, but defines no ACL entries for feature:requirement-add and feature:requirement-remove. Karaf's command guard (SecuredSessionFactoryImpl) allows commands with no matching ACL rule to execute (CWE-862, missing authorization).

The attack is network-based, low complexity and requires no user interaction, but needs an authenticated SSH user with low privileges (e.g. only the ssh and viewer roles). Such a user can run feature:requirement-add to make the resolver download, install and start an arbitrary bundle with the full authority of the Karaf JVM process, bypassing the admin-only restrictions on feature:install and bundle:install. feature:requirement-remove can likewise remove provisioning requirements and uninstall features/bundles.

The impact is full compromise of confidentiality, integrity and availability (CVSS 8.8, high). The vulnerability is not listed in the CISA KEV catalog.

Who is affected

Organizations running Apache Karaf up to 4.4.12 with SSH console access enabled, especially where users with restricted (non-admin) roles exist.

What to do

  1. Upgrade to Apache Karaf 4.4.13 or 4.5.0.
  2. For existing deployments or upgrades that preserve files in etc/, add the rules requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg.
  3. Add the same rules to etc/org.apache.karaf.command.acl.feature.cfg in every child instance.
  4. Review which users have SSH access to the Karaf console and restrict the SSH port to trusted networks.
  5. Review installed bundles and feature requirements for unexpected changes.

Affected products and versions

Apache Software Foundation Apache Karaf≤ 4.4.12

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.