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.
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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://karaf.apache.org/security/cve-2026-91012.txt |
|
History
Tue, 01 Dec 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Tue, 01 Dec 2026 11:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Apache Karaf: Incorrect Authorization vulnerability in the config service | |
| Weaknesses | CWE-863 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: apache
Published:
Updated: 2026-12-01T17:06:47.987Z
Reserved: 2026-12-01T08:14:03.216Z
Link: CVE-2026-140880
No data.
Status : Received
Published: 2026-12-01T12:17:33.087
Modified: 2026-12-01T18:17:29.580
Link: CVE-2026-140880
No data.
OpenCVE Enrichment
No data.
Weaknesses