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

Summary

CVECVE-2026-141271
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-02 18:18:57 UTC
Updated2026-12-02 18:18:57 UTC
DescriptionWhen 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.

Risk And Classification

Problem Types: CWE-73 | CWE-73 CWE-73 External control of file name or path

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Karaf affected 4.2.7 4.4.13 semver Not specified

References

ReferenceSourceLinkTags
lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg [email protected] lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Wanxin Yin (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report