Skip to main content

Apache Karaf CVE-2026-91048

| EUVDEUVD-2026-88661 CRITICAL
Missing Authorization (CWE-862)
9.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Karaf shell as viewer
  2. Delivery
    Run unguarded jdbc:ds-create command
  3. Exploit
    Supply malicious JDBC URL (H2 INIT=RUNSCRIPT)
  4. Execution
    pax-jdbc-config builds live DataSource
  5. Persist
    Code executes at connection time
  6. Impact
    RCE bypassing admin gate

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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 Karaf shell session with at minimum the viewer role (so not unauthenticated despite the supplied PR:N vector). The default/affected deployment is vulnerable because no org.apache.karaf.command.acl.jdbc.cfg (or jms equivalent) is shipped and SecuredSessionFactoryImpl defaults unmatched commands to 'allowed', exposing all jdbc:* and jms:* commands to low-privilege users. Full RCE additionally depends on a JDBC driver that executes code/SQL from URL parameters being available on the classpath (e.g. H2's INIT=RUNSCRIPT); without such a driver the impact may be limited to unauthorized DataSource creation. Limiting factors: valid low-privilege shell credentials and shell/SSH reachability are mandatory, and fixing is as simple as applying 4.4.12 or adding an explicit jdbc/jms ACL.

Impact

The input CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) rates this as critical and fully unauthenticated, but this directly conflicts with the description, which states exploitation requires 'any authenticated shell session (including one holding only the viewer role)' - i.e. a valid Karaf shell login is a hard prerequisite. The PR:N in the supplied vector is therefore almost certainly inflated; this is a post-authentication privilege-escalation-to-RCE chain (CWE-862 missing authorization), not a pre-auth exploit, and a more defensible score is ~8.8 with PR:L. The counterbalancing signals point to low real-world urgency: EPSS is only 0.19% (8th percentile), there is no CISA KEV listing, and no public exploit code is referenced. So while the technical impact is genuinely severe (arbitrary code execution via a reactive DataSource, e.g. H2 INIT=RUNSCRIPT), the realistic risk is moderate-to-high rather than emergency: it needs an attacker who already holds low-privilege shell credentials. Treat the headline 9.8/PR:N as needing correction, and prioritize based on whether untrusted or low-trust users have Karaf shell access.

Exploit ScenarioDerived

An attacker with only a low-privilege 'viewer' role logs into the Karaf shell (e.g. over SSH on port 8101). Because no org.apache.karaf.command.acl.jdbc.cfg ships and the command guard treats unmatched commands as allowed, the viewer runs jdbc:ds-create with a malicious JDBC URL such as an H2 connection string containing INIT=RUNSCRIPT; pax-jdbc-config reactively instantiates the DataSource, executing the attacker's code and escalating to RCE while bypassing the admin-role gate on shell:exec. No public proof-of-concept is referenced at the time of analysis.

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

Privilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - including one holding only the viewer role - execute every jdbc:* and jms:* command, because the command guard (SecuredSessionFactoryImpl) treats commands with no matching ACL rule as permitted and the jdbc/jms ACL configuration files are never shipped. An attacker can use jdbc:ds-create to store a fully controlled JDBC URL into a pax-jdbc-config factory Configuration that is reactively turned into a live DataSource; drivers that act on URL parameters at connect time (for example H2 with INIT=RUNSCRIPT) then execute attacker code, bypassing the admin-role gate that protects shell:exec. No public exploit code identified at time of analysis, EPSS is low at 0.19% (8th percentile), and no CISA KEV listing applies; vendor-released patch: 4.4.12.

Earlier versions of this analysis (1)
v1 Sep 28, 2026 - 18:24

Unauthorized command execution in Apache Karaf before 4.4.12 allows any authenticated shell user, including those limited to the viewer role, to run jdbc:* and jms:* commands because the command guard treats missing ACL rules as permissive. The jdbc:ds-create command stores an attacker-controlled JDBC URL into a pax-jdbc-config factory Configuration without validation, which reactively creates a live DataSource; if a JDBC driver such as H2 with INIT=RUNSCRIPT is present, this reaches remote code execution, bypassing the admin-role gate on shell:exec. No public exploit code or active exploitation is identified at time of analysis, and the assessed CVSS:3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while the vendor has released 4.4.12 as the fixed version.

RemediationAI

Vendor-released patch: Apache Karaf 4.4.12 - upgrade to that version or later, which ships the missing command ACL rule files and closes the default-allow gap for the jdbc and jms scopes; this is the primary and lowest-risk fix. If upgrading immediately is not possible, add explicit ACL configuration files (org.apache.karaf.command.acl.jdbc.cfg and the jms equivalent) that restrict jdbc:* and jms:* commands to the admin role, restoring the same protection the distribution already applies to shell:exec - the trade-off is that this is a manual configuration change that must be applied to every node and re-verified after upgrades or profile changes. Reduce the blast radius by removing JDBC drivers that execute code or SQL from URL parameters (H2, and any driver supporting connection-time script or init directives) from the Karaf classpath, accepting that H2-dependent features and embedded test databases will stop working. Restrict who can reach the shell by disabling SSH shell access, binding the SSH shell to management networks only, and capping shell role assignments so no account holds even viewer role without need, since viewer-level credentials are sufficient for this exploit path. Because exploitation requires valid low-privilege shell credentials, rotate and audit shell accounts and review Karaf audit logs for jdbc:ds-create or jms:* invocations by non-admin users. Note that the 9.8 unauthenticated rating in the original advisory conflicts with the described viewer-role prerequisite, so do not use the absence of authentication in the CVSS vector as a reason to deprioritise patching.

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

The root cause is CWE-862 (Missing Authorization) in Apache Karaf's shell command ACL layer. Karaf guards shell commands via SecuredSessionFactoryImpl, which evaluates each command against role-based ACL rules; critically, when no rule exists for a command scope the implementation's default is to allow the command rather than deny it. The jdbc and jms command scopes should ship their own rule files (org.apache.karaf.command.acl.jdbc.cfg and the jms equivalent), but these were omitted, so every jdbc:* and jms:* command is effectively unprotected for any role that can reach the shell, including viewer. The privilege-escalation chain uses jdbc:ds-create, which writes an attacker-supplied JDBC URL into a pax-jdbc-config factory Configuration through the OSGi ConfigurationAdmin service. pax-jdbc-config subscribes to those factory configurations and reactively materialises them into live DataSource service instances, meaning the malicious connection string is consumed by the container without any validation by Karaf. Because many JDBC drivers honour URL-embedded directives at connection establishment (H2's INIT=RUNSCRIPT being the canonical example, with analogous behaviours and connection-time SQL in other drivers), the result can escalate from a low-privileged shell command to arbitrary code execution inside the Karaf JVM. Impact is therefore conditional on the presence of a suitable driver on the classpath; without one, the demonstrated impact is limited to unauthorised DataSource creation and information disclosure rather than code execution. The supplied CVSS 3.1 vector claims AV:N/AC:L/PR:N/UI:N (unauthenticated), but the described exploitation path requires an existing authenticated shell session at viewer privilege, so the effective vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; the PR:N rating should be treated as incorrect. The same missing-ACL defect applies to the jms command scope.

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

Exploitation requires an authenticated low-privilege shell session (PR:L) reachable over the network (AV:N) with no user interaction, yielding full RCE impact (C:H/I:H/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 7.5 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:28 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:02 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 exposed to a critical privilege-escalation flaw that can let a low-privileged shell user achieve remote code execution, potentially compromising the integration platform and any connected systems. This matters to leadership because affected instances may underpin internal APIs, message routing, and data pipelines, so an exploit could disrupt business services or expose sensitive data. No public exploit code has been identified at time of analysis, and CISA KEV does not list this issue, but the availability of a vendor patch makes immediate remediation the priority.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche OSGi container runtime, used in enterprise Java integration stacks
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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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-91012 CRITICAL
9.8 Sep 28

Authenticated path traversal in Apache Karaf before 4.4.12 allows a principal holding the shipped 'manager' role to writ

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