All vulnerabilities

Maven

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

Severity
High
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
4.4.13
Weakness
CWE-73
Sources
CVE Program

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.

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
  • From 4.2.7 before 4.4.13

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

Vulnerabilities in org.apache.karaf.config:org.apache.karaf.config.core

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
2
Known exploited
0
Search the list for org.apache.karaf.config:org.apache.karaf.config.core

References

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