CVE-2026-140880: Apache Karaf: Incorrect Authorization vulnerability in the config service

Published Dec 1, 2026
·
Updated

The fix for CVE-2026-91012, released in Apache Karaf 4.4.12, restricts the file a new configuration is written to so that it stays inside ${karaf.etc}. This is not sufficient, because files reserved to the admin role, such as etc/users.properties and the JMX and command ACL files, are also located in ${karaf.etc}.

ConfigRepositoryImpl, which backs the config MBean and the config: shell commands, still derives the target file from caller-supplied input such as the felix.fileinstall.filename property. The shipped ACLs select the required role from the configuration PID, not from the file that is written. An authenticated user with the manager role can therefore use a PID they are allowed to edit to overwrite a reserved file, and gain the admin role.

Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue. A new configuration can now only be written to a file named after its own PID or factory PID, with a configuration file extension.

MitigationUsers who cannot upgrade should grant the manager role only to users trusted as much as admins. They can also require the admin role for edit, update and property- in etc/org.apache.karaf.command.acl.config.cfg, and for create, update, setProperty, appendProperty and deleteProperty in etc/jmx.acl.org.apache.karaf.config.cfg.

Affected Software

1 affected component
Apache Karaf<4.4.13, <4.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Karaf to a version that resolves this vulnerability.

    Fixed in 4.4.13
  2. Upgrade

    Upgrade Apache Karaf to a version that resolves this vulnerability.

    Fixed in 4.5.0
  3. Compensating control

    Grant the manager role only to users trusted to the same degree as admins.

Event History

Dec 1, 2026
CVE Published
via MITRE·11:16 AM
Data Sourced
via MITRE·11:16 AM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with the manager role can exploit it. The user must be able to edit an allowed configuration PID through the config MBean or config:* shell commands.

2

What access can an attacker gain?

A manager-role user can overwrite files reserved for administrators, including users.properties and JMX or command ACL files. This can be used to gain the admin role.

3

Are default ACLs affected?

Yes. The shipped ACLs determine the required role from the configuration PID rather than the file ultimately written, allowing an authorized PID update to target a reserved file.

4

What can be done if an upgrade is not immediately possible?

Grant the manager role only to users who should be trusted at the same level as administrators. Alternatively, require the admin role for edit, update, and property-* operations in etc/org.apache.karaf.command.acl.config.cfg.

5

Which versions address the issue?

Upgrade to Apache Karaf 4.4.13 or 4.5.0. These versions restrict new configuration files to names based on their own PID or factory PID and require a configuration-file extension.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203