PT-2026-164668
CVE-2026-140880
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Apache Karaf versions prior to 4.4.13
Apache Karaf versions prior to 4.5.0
Description
An authenticated user with the
manager role can overwrite reserved files located in ${karaf.etc}, such as etc/users.properties and JMX or command ACL files. This occurs because ConfigRepositoryImpl, which supports the config MBean and config:* shell commands, derives the target file from caller-supplied input like the felix.fileinstall.filename property. Since the Access Control Lists (ACLs) validate the role based on the configuration PID rather than the actual file being written, a user can use an authorized PID to modify restricted files and escalate their privileges to the admin role.Recommendations
Upgrade to version 4.4.13.
Upgrade to version 4.5.0.
Grant the
manager role only to users trusted as administrators.
Require the admin role for edit, update, and property-* in etc/org.apache.karaf.command.acl.config.cfg.
Require the admin role for create, update, setProperty, appendProperty, and deleteProperty in etc/jmx.acl.org.apache.karaf.config.cfg. Found an issue in the description? Have something to add? Feel free to write us 👾