Skip to main content
Menu
CVEs

Apache Karaf authorization bypass in feature:requirement-add command

Apache Karaf through 4.4.12 is affected when a user holds only the viewer (and ssh) role. The advisory names 4.4.12 or 4.5.0 (or later) as the upgrade.

CVE-2026-124615EUVD-2026-134215Published November 24, 2026, updated

8.8HighCISA-ADP
Exploited
No known exploitation
Fix
Fixed in 4.4.12, 4.5.0
Who is exposed
Specific setups only

Summary

Apache Karaf is affected: a user who has only the viewer (and ssh) role can run the feature:requirement-add and feature:requirement-remove commands, which the admin-only access control does not cover. By doing so, that user can make Karaf download, install and start an attacker-chosen bundle, which then runs with the full authority of the Karaf process.

Written by a model

Original description

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

Who should check

Teams running Apache Karaf through 4.4.12 where users hold the viewer and ssh roles, such as Karaf-based service hosts with remote shell access

“Apache Karaf through 4.4.12”

openwall.com

What to do

  1. Check whether your setup matches what the bug needs.

    Apache Karaf through 4.4.12 Attacker holds only the viewer (and ssh) role
  2. Upgrade to a fixed version: 4.4.12, 4.5.0.

  3. Workaround: Add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-124615 (Apache Karaf: feature:requirement-add / feature:requirement-remove command ACL bypass allows a viewer to install and run arbitrary code), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-124615 (entry last updated 2026-11-24):
Affected:
- Maven package org.apache.karaf:apache-karaf: through 4.4.12
Fixed versions: 4.4.12, 4.5.0.
Conditions (all must be true for the bug to be hit):
- Apache Karaf through 4.4.12 (source: https://www.openwall.com/lists/oss-security/2026/11/24/11)
- Attacker holds only the viewer (and ssh) role (source: https://www.openwall.com/lists/oss-security/2026/11/24/11)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
Workaround: Add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg (source: https://www.openwall.com/lists/oss-security/2026/11/24/11)
CISA KEV: CVE-2026-124615 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-124615 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://lists.apache.org/thread/trrzwgw5z0pzhk46cyvl6fvr7f6shgkz
- http://www.openwall.com/lists/oss-security/2026/11/24/11
- https://www.openwall.com/lists/oss-security/2026/11/24/11
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-124615
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-124615"}.

Affected versions

cve.now Index

28Pof 100 · provisional · methodology v3
  • Exploitation0/40No signal
  • Exposure8/25Specific setups only, reachable over the network
  • Reach10/20Affects Maven packages
  • Severity9.8/10CVSS 8.8, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 78 if added to CISA KEV
  • Would score about 73 if CISA's SSVC rates exploitation active
  • Would score about 35 if CISA's SSVC rates it automatable

Impact

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
Advisorylists.apache.org · thread/trrzwgw5z0pzhk46cyvl6fvr7f6shgkz
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-124615
RecordNVD · CVE-2026-124615
Write-ups 1Establishes: Technical detail and context.
Linkopenwall.com · lists/oss-security/2026/11/24/11

Questions about CVE-2026-124615

Is CVE-2026-124615 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

The feature:requirement-add and feature:requirement-remove commands fail to enforce admin-only access, so a user with only the viewer role can make Karaf download, install and start an attacker-chosen bundle. That bundle then runs with the full authority of the Karaf process.

Source: openwall.com

Which versions are affected by CVE-2026-124615?

org.apache.karaf:apache-karaf (Maven): through 4.4.12.

Source: cve.now feed data

Am I affected, and how do I check?

Apache Karaf through 4.4.12 is affected, in the setup where a user holds only the viewer (and ssh) role. To check, look at the installed Karaf version and at the requirement-add and requirement-remove entries in etc/org.apache.karaf.command.acl.feature.cfg.

Source: openwall.com

How do I fix CVE-2026-124615?

Upgrade to Apache Karaf 4.4.12 or 4.5.0 (or later), as the advisory states. Until then, the advisory's workaround is to add requirement-add = admin and requirement-remove = admin to etc/org.apache.karaf.command.acl.feature.cfg.

Source: openwall.com

No corrections so far. Something wrong on this page? Report an error.