CVE-2026-141271: Apache Karaf: config property-set can redirect configuration writes to reserved files (etc users.properties command JMX ACLs) via felix.fileinstall.filename manager-role user can gain admin

Published Dec 2, 2026
·
Updated

When updating a configuration that has no backing file yet, the Karaf config service used the felix.fileinstall.filename property supplied by the caller to choose the file to write. The fix for CVE-2026-91012 restricted that file to the ${karaf.etc} directory, but files reserved to administrators, such as etc/users.properties and the JMX and shell command ACLs, are located in that directory too. The configuration storage type could also be used to target such a file.

An authenticated user with the manager role, with access to the config shell commands or the config MBean, could overwrite these files and obtain the admin role.

This issue affects Apache Karaf from 4.2.7 before 4.4.13. Users who upgraded to 4.4.12 to address CVE-2026-91012 are still affected.

Users are recommended to upgrade to version 4.4.13 or 4.5.0, which fix the issue: a configuration can only be written to a configuration file named after its own PID or, for a factory configuration, its factory PID. An existing backing file must be a configuration file.

MitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for:

edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg

Network access to SSH and JMX should also be restricted.

Affected Software

1 affected component
Apache Karaf>=4.2.7<4.4.13

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 as administrators.

  4. Compensating control

    Restrict network access to SSH and JMX.

Event History

Dec 2, 2026
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionWeakness
Data Sourced
via NVD·06:18 PM
DescriptionWeakness

Frequently Asked Questions

1

Which Apache Karaf versions need to be remediated?

Apache Karaf versions from 4.2.7 before 4.4.13 are affected. Systems upgraded to 4.4.12 for CVE-2026-91012 remain affected; upgrade to 4.4.13 or 4.5.0.

2

What access does an attacker need?

The attacker must be authenticated with the manager role and able to use the config shell commands or the config MBean. That access can be used to overwrite administrator-reserved files and obtain the admin role.

3

What can be done when an immediate upgrade is not possible?

Only grant the manager role to users who are trusted as administrators. This limits access to the configuration update functionality that can target reserved files.

4

How can I determine whether a deployment is at risk?

Check the Apache Karaf version and review which accounts have the manager role and access to config shell commands or the config MBean. Deployments running an affected version with such manager-role users are exposed.

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