Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as manager role via SSH/JMX
-
DeliveryAccess config shell command or config MBean
-
ExploitPoint config write at etc/users.properties via felix.fileinstall.filename
-
ExecutionOverwrite admin-reserved file
-
ImpactGain admin role and full container control
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Requires an authenticated account already holding the Karaf manager role with access to the config shell commands (edit/property-set/property-append/property-delete/update) or the config MBean (create/setProperty/appendProperty/deleteProperty/update), reachable over SSH or JMX. Exploitation specifically abuses the felix.fileinstall.filename property (or the configuration storage type) when updating a configuration that has no backing file yet, to redirect the write at an administrator-reserved file in ${karaf.etc} such as etc/users.properties or the JMX/shell command ACLs. Limiting factors: the attacker must possess the privileged manager role (not anonymous), must have network reach to SSH or JMX, and the target must run an affected version (4.2.7 up to but not including 4.4.13 - note 4.4.12 does NOT mitigate this). The only complete fix is upgrading to 4.4.13 or 4.5.0; interim mitigations per the advisory are to grant the manager role only to admin-trusted users or require the admin role for the listed config commands/MBean operations, and to restrict SSH and JMX network access. |
| Impact | This is a privilege-escalation flaw (CWE-73, external control of file name/path) in Apache Karaf's config service: an already-authenticated user holding the manager role can overwrite administrator-reserved files under ${karaf.etc} (etc/users.properties, JMX and shell command ACLs) and thereby grant themselves the admin role. No CVSS score or vector is provided in the input, so attack-vector/complexity/privilege signals cannot be read from a scored metric and are inferred from the description only. There is no EPSS score, no CISA KEV listing, and no PoC or exploit reference supplied - so there is no public exploit identified at time of analysis and no evidence of active exploitation. The strongest real-world signal is the vendor-reported severity implied by the mechanism (full escalation to admin) combined with the vuln.today decision label of 'this_week', indicating a prompt-but-not-emergency priority. The practical risk is bounded by a real precondition: the attacker must already possess the manager role AND reach the config shell (SSH) or config MBean (JMX). This is therefore a meaningful post-authentication escalation rather than an unauthenticated internet-wide threat. Note also that this specifically defeats the incomplete prior fix (CVE-2026-91012): operators who upgraded only to 4.4.12 remain exposed, which is an important and easily-missed risk amplifier. |
| Exploit ScenarioDerived | An authenticated user granted only the manager role connects to the Karaf console over SSH (or to the config MBean over JMX) and issues a config update whose target file is steered - via the felix.fileinstall.filename property or the configuration storage type - at a reserved file such as etc/users.properties. By overwriting that file the attacker adds themselves to the admin role and gains full administrative control of the container. No public exploit or PoC reference is provided in the available data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Privilege escalation in Apache Karaf (4.2.7 up to but not including 4.4.13) lets an authenticated user who already holds the manager role overwrite administrator-reserved files inside ${karaf.etc} - such as etc/users.properties and the JMX and shell command ACL definitions - and thereby obtain the admin role. The flaw is reachable through the config shell commands or the config MBean over SSH or JMX: when a configuration with no backing file is updated, the caller-supplied felix.fileinstall.filename property (or the configuration storage type) is used to choose the file that gets written, and the earlier ${karaf.etc} restriction from CVE-2026-91012 did not exclude files reserved to administrators, so environments upgraded to 4.4.12 remain vulnerable. No public exploit code has been identified at time of analysis and there is no KEV listing; exploitation requires an already-privileged manager account plus network reach to SSH or JMX.
RemediationAI
Upgrade to Apache Karaf 4.4.13 or 4.5.0, which are the only complete fixes - 4.4.12 is not sufficient even though it addressed CVE-2026-91012 (advisory: https://lists.apache.org/thread.html/82wcp3vtxtv8dw1z7g9xxstb7k96tgwg). If upgrading is not immediately possible, the advisory's compensating controls are to grant the manager role only to users who are trusted as administrators, or alternatively require the admin role for edit, property-set, property-append, property-delete and update in etc/org.apache.karaf.command.acl.config.cfg and for create, setProperty, appendProperty, deleteProperty and update in etc/jmx.acl.org.apache.karaf.config.cfg - with the trade-off that legitimate manager-role operators lose the ability to manage configurations through those paths. Additionally restrict network access to SSH and JMX so only trusted administrative networks can reach the Karaf management surfaces, accepting the operational cost of tighter access control for remote administration and tooling.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Karaf's configuration service is built on Apache Felix Config Admin and the Felix File Install handler, which persists configuration dictionaries to files on disk. This issue is CWE-73 (external control of file name or path): before a configuration has a backing file, the service honors the felix.fileinstall.filename property provided by the caller to decide the write target, and the configuration storage type can also be abused to select the destination. The fix for CVE-2026-91012 confined writes to ${karaf.etc}, but Karaf stores security-critical material directly in that directory - the default user/role store etc/users.properties plus the shell command ACL (etc/org.apache.karaf.command.acl.config.cfg) and JMX ACL (etc/jmx.acl.org.apache.karaf.config.cfg) definitions - so a path under ${karaf.etc} is not sufficient validation. The 4.4.13/4.5.0 fix hardens the logic so a configuration can only be written to a file named after its own PID (or, for a factory configuration, its factory PID), and an existing backing file must itself be a configuration file. The assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects network reachability to the config surface, low attack complexity, and high confidentiality, integrity and availability impact once the write primitive is used to elevate to admin; the trigger is the specific config-update path described in the advisory, not a generic file-write bug.
Know when Apache Karaf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Remotely reachable over SSH/JMX (AV:N) with a straightforward config write (AC:L), but requires the privileged manager role (PR:L); successful escalation to admin yields full C/I/A impact.
Primary rating from Vendor (apache).
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Apache Karaf versions 4.2.7 through 4.4.12 contain a high-severity privilege escalation flaw that allows an authenticated manager to overwrite administrator-reserved files and gain full administrative control. This compromises the integrity of the Karaf environment, potentially exposing sensitive configurations and enabling further attacks. Leadership should prioritize remediation because unpatched systems remain vulnerable and could lead to broader network compromise.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to SSH/JMX to trusted hosts; enforce least privilege by limiting manager role assignments; monitor and audit configuration changes; disable config shell commands and config MBean for non-admin users if feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in Apache Karaf
View allPrivilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - inclu
Authenticated path traversal in Apache Karaf before 4.4.12 allows a principal holding the shipped 'manager' role to writ
Apache Karaf lets an authenticated low-privilege user holding only viewer and ssh roles install and start an attacker-ch
Authenticated command injection in Apache Karaf's instance-management service lets a principal who can reach the instanc
Authorization bypass in Apache Karaf before 4.4.12 allows an authenticated JMX client holding any role - including the l
LDAP filter injection in Apache Karaf before 4.4.12 allows a crafted login name to alter the structure of LDAP search fi
Privilege escalation in Apache Karaf versions before 4.4.12 allows any authenticated user of the shell or SSH console -
EUVD-2026-141744
GHSA-j5rj-x88v-2w3f
CVE.org
Exploit-DB