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
Description
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.
INFO
Published Date :
Dec. 2, 2026, 6:18 p.m.
Last Modified :
Dec. 2, 2026, 6:18 p.m.
Remotely Exploit :
No
Source :
[email protected]
Solution
- Upgrade Apache Karaf to version 4.4.13 or later.
- Restrict manager role access to trusted administrators.
- Restrict network access to SSH and JMX.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-141271.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-141271 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-141271
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-141271 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-141271 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Dec. 02, 2026
Action Type Old Value New Value Added Description 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. Added CWE CWE-73 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/141xxx/CVE-2026-141271.json">CVE-2026-141271</a> Added Reference https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg