All vulnerabilities

Maven

CVE-2026-140880

Apache Karaf: Incorrect Authorization vulnerability in the config service

Severity
High 8.8
Published
1 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
4.4.13
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.karaf.config:org.apache.karaf.config.coreMaven · osv:Maven:org.apache.karaf.config:org.apache.karaf.config.core
  • Every version before 4.4.13

About org.apache.karaf.config:org.apache.karaf.config.core

This is the only vulnerability in org.apache.karaf.config:org.apache.karaf.config.core in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140880