CVE-2026-91006: 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)
This Apache advisory covers CVE-2026-91006. Related products: Apache Karaf.
Key facts
- Vendor rating
- High, CVSS 8.8
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H· base score 8.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
- EPSS
- 1.14% chance of exploitation in the next 30 days (67th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Versions named
- Apache Karaf before 4.4.12
- Fixed in
- 4.4.12
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Related products & platforms
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.
Text from the source record.
- Apache Karaf before 4.4.12
Official advisory · high-confidence parse· fetched ·verify at source
How to fix CVE-2026-91006
Upgrade to the first fixed release for your version, shown in the table above.
Workarounds
- 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.
CVE-2026-91006 in other vendors' advisories
- Red Hat: CVE-2026-91006, high severity
More Apache Software Foundation advisories
CVE-2026-92142Sep 29, 2026Apache Karaf exposes a JMX MBeanServer guarded by KarafMBeanServerGuardCVE-2026-91048Sep 29, 2026The jdbc shell command scope shipped no org.apache.karaf.command.acl.jdbc.cfgCVE-2026-91012Sep 29, 2026org.apache.karaf.config.core.impl.ConfigRepositoryImpl#update(pid, properties)CVE-2026-90979Sep 28, 2026LDAPCache and LDAPBackingEngine build LDAP search filters for user lookup and role lookupCVE-2026-92230Sep 17, 2026Apache Karaf's XmlUtils cached XML parser/transformer factories in static ThreadLocalCVE-2026-60078Nov 23, 2026Allocation of resources without limits or throttling vulnerability in Apache IoTDB
Apache Software Foundation advisories, September 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.