GHSA-q6wq-m79c-29mj
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with manager role via JMX/shell
-
DeliveryCall config update() with traversal PID or felix.fileinstall.filename
-
ExploitWrite content outside ${karaf.etc}
-
ExecutionOverwrite users.properties/ACL files
-
ImpactEscalate to admin and take over container
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated principal holding the 'manager' role under Karaf's default shipped command/JMX ACL (org.apache.karaf.command.acl.conf.cfg maps 'update = manager'), reached through the config JMX MBean or the config:update/config:* shell commands. Exploitation is limited to deployments that expose Karaf management (JMX/SSH console) and grant the manager role to users who are not already admins - in single-admin or management-isolated deployments the privilege boundary being crossed does not exist. No user interaction and no non-default configuration are needed beyond the stock ACL. Affects Apache Karaf versions before 4.4.12. |
| Impact | Signals conflict on exploitability. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, 9.8 Critical) claims unauthenticated network exploitation, but the description explicitly states both code paths require 'any caller holding the manager role' under Karaf's shipped command/JMX ACL. This contradicts PR:N - the vulnerability is authenticated (PR:L), not unauthenticated. A corrected vector lands around 8.8 (High), still serious because a manager-role user can achieve full privilege escalation to admin/container takeover by overwriting etc/users.properties or ACL config files. Supporting signals point to low real-world urgency: EPSS is 0.17% (6th percentile), there is no CISA KEV listing, and no public exploit was identified. Technical impact is high (write-anywhere leading to total compromise of the Karaf container), but automatability is limited by the authentication requirement. Net: this is a genuine privilege-escalation flaw for environments that grant the manager role to semi-trusted users, but the 9.8 'wormable unauthenticated RCE' framing overstates it - treat as a High-priority patch where Karaf exposes JMX/SSH management to multiple role tiers, not an internet-facing emergency. |
| Exploit ScenarioDerived | An attacker (or insider) already holding the Karaf 'manager' role connects via the config:* shell commands or the config JMX MBean and calls update() with a configuration PID containing '..' path segments, or injects a felix.fileinstall.filename pointing to an absolute path. They overwrite etc/users.properties to grant themselves the admin role, then take full control of the container. No public exploit code or active exploitation has been identified; the technique is straightforward for anyone with manager access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 01, 2026
Authenticated path traversal in Apache Karaf before 4.4.12 allows a principal holding the shipped 'manager' role to write attacker-controlled content to arbitrary files writable by the Karaf process, because ConfigRepositoryImpl.update() and createFactoryConfiguration() build the target configuration filename from caller-supplied input without confining the result to ${karaf.etc}. Under Karaf's default command/JMX ACL (org.apache.karaf.command.acl.conf.cfg maps 'update = manager'), this lets a manager-role user overwrite files the same ACL reserves to 'admin' - such as etc/users.properties, etc/*.acl.*.cfg, and etc/org.apache.karaf.management.cfg - and thereby grant themselves the admin role or take over the container. The advisory does not indicate active exploitation, and no public exploit code has been identified at time of analysis; EPSS is 0.17% (6th percentile), indicating low predicted exploitation, while published scoring (CVSS 9.8, PR:N) is more severe than this assessment, which requires an authenticated manager-role principal (PR:L) on a deployment that exposes Karaf management and grants manager to non-admins.
Earlier versions of this analysis (1)
Privilege escalation in Apache Karaf before 4.4.12 lets an authenticated user holding the built-in 'manager' role write attacker-controlled content to files writable by the Karaf process - including admin-reserved files such as etc/users.properties and etc/org.apache.karaf.management.cfg - and thereby take over the container. The defect sits in ConfigRepositoryImpl#update() and createFactoryConfiguration(), which derive the target configuration file from caller input, either an absolute path supplied through a felix.fileinstall.filename entry or a configuration PID containing '..' segments, without confirming the result stays inside ${karaf.etc}; the shipped ACL org.apache.karaf.command.acl.conf.cfg maps 'update = manager', so no admin role is needed. Exploitation requires a valid manager-role credential plus network reach to the JMX 'config' MBean or the config:* SSH/shell commands, no public exploit code was identified at time of analysis, and no KEV entry or EPSS score appears in the supplied intelligence.
RemediationAI
Vendor-released patch: Apache Karaf 4.4.12 - the fixed release that closes the affected range 'Apache Karaf 0 < 4.4.12'; upgrade to 4.4.12 or later using the artifacts and instructions at https://karaf.apache.org/ (see also https://lists.apache.org/thread/op8trtz1qxkdwj2rjozhd9yt2yd6nhw4 and the oss-security advisory https://seclists.org/oss-sec/2026/q3/967). If an immediate upgrade is not possible, the highest-value compensating control is to raise the privilege required for the vulnerable operations: edit org.apache.karaf.command.acl.conf.cfg plus the corresponding JMX ACL entries so that update, createFactoryConfiguration and the related config write operations require 'admin' rather than 'manager' - the trade-off is that legitimate manager-role automation performing configuration changes will start failing and must be re-credentialed. In parallel, audit and remove the 'manager' role from any principal that is not already an administrator, since a manager is sufficient to escalate via this flaw, and treat membership in that role as equivalent to admin. Where the config subsystem is not needed remotely, disable or firewall the management surfaces: restrict the JMX/RMI connector (default RMI registry 1099 / management port) and the Karaf SSH console (default 8101) to trusted management networks or bind them to localhost only - this reduces the attack surface but breaks remote administration, and it does not help if a local console account with the manager role is compromised. Running the Karaf process under a dedicated low-privileged OS account limits what an absolute-path write can reach outside ${karaf.etc}, but it does not protect etc/users.properties or the ACL files themselves, so it is only a partial mitigation. Do not rely on the existing finalname.contains("..") check on the config:install path - it is not applied to update()/createFactoryConfiguration() and does not block absolute paths or symlink escapes.
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 subsystem is backed by ConfigRepositoryImpl, which serves the 'config' JMX MBean and the config:* shell commands (including config:update and config:install). The class (CWE-22, improper limitation of a pathname to a restricted directory) derives the file it writes from untrusted input through two independent code paths: if the submitted property map contains a felix.fileinstall.filename entry, getCfgFileFromProperty() converts that value directly into a File, permitting any absolute path the Karaf process can write; otherwise generateConfigFilename() concatenates the configuration PID verbatim into new File(karaf.etc, pid + ".cfg"), so a PID containing '..' segments resolves outside ${karaf.etc}. createFactoryConfiguration() exposes the same weakness via the factory PID/alias. Both paths are reachable by any caller holding the 'manager' role under the stock ACL, and an existing defence - the finalname.contains("..") check on the separate ConfigMBeanImpl.install() / config:install code path - was never applied to update() or createFactoryConfiguration(), and in any case does not stop absolute paths or symlink-based escapes. The underlying technology stack is the Felix FileInstall/property-file configuration mechanism combined with Karaf's JAAS-based role model, in which the ACL is itself stored under etc, creating the write-to-escalate condition.
Know when 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Manager-role authentication is required so PR:L not PR:N; reachable over JMX/SSH network management (AV:N, AC:L), and arbitrary file write enables full container takeover (C/I/A:H).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Articles & Coverage 3
Executive ViewAI
Apache Karaf deployments prior to 4.4.12 are affected by a critical path traversal vulnerability that allows a user with the manager role to escalate privileges to admin and potentially take over the container. No public exploit identified at time of analysis, but the flaw poses a significant risk to organizations relying on Karaf for integration or application hosting, as a compromised admin account could lead to unauthorized access and data loss. Leadership should prioritize patching to 4.4.12 to prevent insider or compromised-account escalation.
Apply vendor patch.
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
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. Rated high severity (CVSS 8.1), this vulne
Privilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - inclu
This vulnerable is about a potential code injection when an attacker has control of the target LDAP server using in the
Authorization bypass in Apache Karaf before 4.4.12 allows an authenticated JMX client holding any role - including the l
In Apache Karaf prior to 4.2.0 release, if the sshd service in Karaf is left on so an administrator can manage the runni
In Apache Karaf version prior to 3.0.9, 4.0.9, 4.1.1, when the webconsole feature is installed in Karaf, it is available
OpenDaylight Karaf 0.6.1-Carbon fails to clear the cache after a password change, allowing the old password to be used u
Metaspace exhaustion in Apache Karaf before 4.4.11 allows an operator with access to Karaf's bundle- and feature-managem
Apache Karaf kar deployer reads .kar archives and extracts the paths from the "repository/" and "resources/" entries in
Privilege escalation in Apache Karaf versions before 4.4.12 allows any authenticated user of the shell or SSH console -
In Karaf, JMX authentication takes place using JAAS and authorization takes place using ACL files. Rated medium severity
Apache Karaf before 4.0.10 enables a shutdown port on the loopback interface, which allows local users to cause a denial
EUVD-2026-88660
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB