Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-140880

CVE-2026-140880: Apache Karaf: Incorrect Authorization vulnerability in the config service

Apache Software Foundation Apache Karaf

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-140880: high-severity vulnerability (CVSS 8.8) in Apache Software Foundation Apache Karaf.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.8.

Affected products and versions

Apache Software Foundation Apache Karaf < 4.4.13

ProductVersionsFixed in
Apache Software Foundation Apache Karaf< 4.4.13—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.