CVE-2026-141271
Awaiting Analysis Awaiting Analysis - Queue

Privilege Escalation in Apache Karaf Configuration Service

Vulnerability report for CVE-2026-141271, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: Apache Software Foundation

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. An existing backing file must be a configuration file. MitigationUsers who can't upgrade should only grant the manager role to users trusted as administrators, or require the admin role for: * edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg * create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg Network access to SSH and JMX should also be restricted.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Apache Software Foundation Apache Karaf From 4.2.7 (inc) to 4.4.13 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Apache Karaf allows an authenticated user with the manager role to overwrite sensitive configuration files like etc/users.properties or JMX ACLs by exploiting the config service. The issue occurs when updating a configuration without a backing file, enabling the user to target files in the ${karaf.etc} directory, which should be restricted to administrators.

Detection Guidance

Check Apache Karaf version with 'bin/karaf version' or 'etc/version.properties'. Verify if config files like etc/users.properties, etc/org.apache.karaf.command.acl.config.cfg, or etc/jmx.acl.org.apache.karaf.config.cfg have been modified unexpectedly.

Impact Analysis

An attacker could gain administrative privileges by overwriting critical files, allowing them to execute unauthorized commands or access sensitive data. This could lead to full system compromise if the attacker obtains the admin role.

Compliance Impact

This vulnerability could violate compliance requirements by enabling unauthorized access to sensitive data or administrative functions, potentially leading to data breaches or unauthorized system modifications. Organizations must ensure proper access controls to maintain compliance.

Mitigation Strategies

Upgrade to Apache Karaf 4.4.13 or 4.5.0. If unable to upgrade, restrict manager role to trusted admins and limit access to config shell commands or MBeans. Restrict network access to SSH and JMX ports.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-141271. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...