Apache Karaf viewer ACL bypass allows arbitrary code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-863.
Summary
Apache Karaf has no shell ACL entry for feature:requirement-add or feature:requirement-remove, so a user with only the viewer and ssh roles can run them. A bundle: or feature: requirement then causes Apache Karaf to download, install and start an attacker-chosen bundle, which runs with the full authority of the Karaf process. This bypasses the admin-only checks on feature:install and bundle:install, and is the same class of issue as the feature:repo-add -i and feature:repo-remove -u bypass on sibling commands the earlier fix did not cover. The issue is rated 8.8 (HIGH) under CVSS 3.1 and classed as CWE-863.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
The shell command ACL for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start and feature:stop to the admin role, but had no entry for feature:requirement-add or feature:requirement-remove. The provisioning resolver turns a requirement into the same install/start (or uninstall) action as feature:install / feature:uninstall: a bundle: requirement causes an arbitrary bundle to be downloaded and started, and a feature: requirement installs that feature. Because the two commands had no ACL, a user authenticated with only the viewer (and ssh) role could invoke them and cause Apache Karaf to download, install and start an attacker-chosen bundle, which then runs with the full authority of the Karaf process — thereby bypassing the admin-only authorization enforced on feature:install and bundle:install. This is the same class of issue as the feature:repo-add -i / feature:repo-remove -u bypass, on sibling commands not covered by that earlier fix.Mitigation:Upgrade to Apache Karaf 4.4.12 or 4.5.0 (or later), which restrict feature:requirement-add and feature:requirement-remove to the admin role. As an interim workaround on affected versions, add the following two lines to etc/org.apache.karaf.command.acl.feature.cfg; the change is picked up at runtime without a restart: requirement-add = admin requirement-remove = admin
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade to Apache Karaf 4.4.12 or 4.5.0 (or later), which restrict both commands to the admin role. On affected versions, add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg. The change takes effect at runtime without a restart.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Timeline
- 2026-11-24 Threatist record created from CVE-2026-124615
- 2026-11-24 CVSS score added · CISA ADP
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-24 Alias added: GHSA-g9vf-m6gc-f558
- 2026-11-25 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-124615 · CVE Program
- CVE-2026-124615 · NVD
- FIRST EPSS
- GHSA-g9vf-m6gc-f558 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences