Skip to content
VulniPulse
High8.8Red Hat Linux

CVE-2026-91006: Red Hat org.apache.karaf.instance/org.apache.karaf.instance.core: karaf: Apache Karaf: Arbitrary command execution via unquoted instance options

This Red Hat advisory covers CVE-2026-91006.

Open the Red Hat advisory

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 )
Source published
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Red Hat LinuxUnclassified

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.

An attacker with access to instance-management commands or Java Management Extensions (JMX) interfaces can achieve arbitrary command execution on the underlying host system.

Text from the source record.

How to fix CVE-2026-91006

Vendor guidance

  • The risk can be reduced by limiting which users can reach the vulnerable functionality: set karaf.secured.command.compulsory.roles=admin in etc/system.properties so that command scopes without explicit RBAC configuration are restricted to administrators instead of failing open; use role assignments in etc/users.properties to restrict which principals can invoke the instance:* shell commands and the InstancesMBean JMX interface; and treat javaOpts values passed to instance:create, instance:start, instance:restart, instance:change-opts, or the equivalent InstancesMBean operations as untrusted, accepting them only from fully trusted operators. These configuration changes restrict access to the vulnerable code paths but do not remove the underlying flaw itself.

CVE-2026-91006 in other vendors' advisories

Compare every advisory for CVE-2026-91006

All Red Hat Linux advisories

Get an email when Red Hat publishes the next one.

See Red Hat'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.

Alert me about Red Hat