CVE-2026-91006
published high CVSS 3.1 · 8.8Apache Karaf: OS Command Injection in Child-Instance Launch (instance:* / InstancesMBean)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.karaf:org.apache.karaf.instance.coreApache Karaf · 0 to < 4.4.12 · Other versions: unaffected | Affected | Not stated | apache |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Karaf | 0 to < 4.4.12 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-78 CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
References
2Provider assertions
3apache · cna
Apache Karaf: OS Command Injection in Child-Instance Launch (instance:* / InstancesMBean)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63ff2bee72ce80cdbef578816ad3209637a356b021959e25cec5779c7ad2ad82
- Ingested
- 30 Sep 2026, 15:35:01 UTC
- Source record
- Official CVE record