Skip to main content

Apache Karaf EUVDEUVD-2026-88660

| CVE-2026-91012 CRITICAL
Path Traversal (CWE-22)
9.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with manager role via JMX/shell
  2. Delivery
    Call config update() with traversal PID or felix.fileinstall.filename
  3. Exploit
    Write content outside ${karaf.etc}
  4. Execution
    Overwrite users.properties/ACL files
  5. Impact
    Escalate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Sep 28, 2026 - 18:24

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

Apache Karaf 0 <4.4.12

Affected Packages

euvd apache_karaf fix: 4.4.12

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

Vendor (CNA) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.8 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 01, 2026 - 15:29 vuln.today
v2 - CVSS changed
CVSS changed
Oct 01, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Sep 29, 2026 - 10:16 EUVD
CVE Published
Sep 28, 2026 - 16:00 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
Apache OSGi runtime container, common in enterprise Java integration but not ubiquitous
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Karaf

View all
CVE-2020-28052 HIGH POC
8.1 Dec 18

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

CVE-2026-91048 CRITICAL
9.8 Sep 28

Privilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - inclu

CVE-2022-40145 CRITICAL
9.8 Dec 21

This vulnerable is about a potential code injection when an attacker has control of the target LDAP server using in the

CVE-2026-92142 HIGH
8.8 Sep 28

Authorization bypass in Apache Karaf before 4.4.12 allows an authenticated JMX client holding any role - including the l

CVE-2018-11786 HIGH
8.8 Sep 18

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

CVE-2018-11787 HIGH
8.1 Sep 18

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

CVE-2017-1000406 HIGH
7.5 Nov 30

OpenDaylight Karaf 0.6.1-Carbon fails to clear the cache after a password change, allowing the old password to be used u

CVE-2026-92230 HIGH
7.5 Sep 17

Metaspace exhaustion in Apache Karaf before 4.4.11 allows an operator with access to Karaf's bundle- and feature-managem

CVE-2019-0191 MEDIUM
6.5 Mar 21

Apache Karaf kar deployer reads .kar archives and extracts the paths from the "repository/" and "resources/" entries in

CVE-2026-91085 MEDIUM
6.3 Sep 28

Privilege escalation in Apache Karaf versions before 4.4.12 allows any authenticated user of the shell or SSH console -

CVE-2020-11980 MEDIUM
6.3 Jun 12

In Karaf, JMX authentication takes place using JAAS and authorization takes place using ACL files. Rated medium severity

CVE-2014-0219 MEDIUM
5.5 Nov 15

Apache Karaf before 4.0.10 enables a shutdown port on the loopback interface, which allows local users to cause a denial

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy