{"id":30169,"date":"2026-09-28T20:31:08","date_gmt":"2026-09-28T12:31:08","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-91006"},"modified":"2026-09-28T20:31:08","modified_gmt":"2026-09-28T12:31:08","slug":"cve-2026-91006","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-91006","title":{"rendered":"CVE-2026-91006 &#8211; Apache Karaf&#8217;s instance-management service (InstanceServiceImpl) builds the command line u"},"content":{"rendered":"<p>Apache Karaf&#8217;s instance-management service (InstanceServiceImpl) builds the command line used to launch a child Karaf JVM by string concatenation, then executes it through\u00a0\/bin\/sh\u00a0(Unix) or\u00a0cscript\u00a0(Windows). The caller-supplied\u00a0javaOpts\u00a0value is spliced into that string unquoted. A javaOpts value containing shell metacharacters (;,\u00a0|,\u00a0`,\u00a0$(&#8230;)) 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.<\/p>\n<p>Reachable via the shell commands\u00a0instance:create,\u00a0instance:start,\u00a0instance:restart,\u00a0instance:change-opts, and the equivalent\u00a0InstanceMBean\u00a0JMX operations (createInstance,\u00a0startInstance,\u00a0changeJavaOpts,\u00a0cloneInstance).<\/p>\n<p>Mitigation\u00a0  *  Set\u00a0karaf.secured.command.compulsory.roles=admin\u00a0in\u00a0etc\/system.properties\u00a0to close the fail-open gap for all unconfigured command scopes.<br \/>\n  *  Restrict which principals can reach\u00a0instance:*\u00a0commands and\u00a0InstancesMBean\u00a0via\u00a0etc\/users.properties\u00a0role assignments.<br \/>\n  *  Treat\u00a0javaOpts\u00a0passed to instance:create\/instance:start\/instance:change-opts\/InstancesMBean\u00a0as untrusted input only from fully-trusted operators.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Karaf&#8217;s instance-management service (InstanceServiceImpl) builds the command line used to launch a child Karaf JVM by string concatenation, then executes it through\u00a0\/bin\/sh\u00a0(Unix) or\u00a0cscript\u00a0(W<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-30169","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/30169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}