CVE-2026-141271: Apache Software Foundation Apache Karaf Vulnerability

CVE-2026-141271

NVD

Vulnerability Summary

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.
Severity Level
UNKNOWN
Published Date
Dec 2, 2026
Last Modified
Dec 2, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
Root Weakness (CWE)
The product allows user input to control or influence paths or file names that are used in filesystem operations.

Affected & Patched Versions

Affected Versions
  • Apache Software Foundation Apache Karaf >= 4.2.7 and < 4.4.13
Patched Versions
  • Apache Software Foundation Apache Karaf 4.4.13

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Apache Software Foundation Apache Karaf and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 2, 2026Published
  • Dec 2, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Software Foundation Apache Karaf CVEsYou are reading CVE-2026-141271. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 2, 2026 20:02 UTC