-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 CVE-2026-130808: Apache Karaf: feature requirement-add installs bundles from restricted SSH shell Severity: important Affected versions: - - Apache Karaf before 4.4.13 Description: In Apache Karaf, the default command ACL configuration for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg, defined in assemblies/features/standard/src/main/feature/feature.xml and the child-instance template instance/src/main/resources/org/apache/karaf/instance/resources/etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start, and feature:stop to users with the admin role, while leaving feature:requirement-add and feature:requirement-remove without ACL entries. Because Karaf's command guard (SecuredSessionFactoryImpl) allows commands with no matching ACL rule (NO_MATCH) to execute, an authenticated SSH user holding only the ssh and viewer roles can execute feature:requirement-add bundle: (or feature:). RequirementAdd forwards the requirement directly to FeatureService.addRequirements(), causing the resolver to download, install, and start an arbitrary bundle with the Karaf JVM process's full authority, bypassing the admin-only restrictions on feature:install and bundle:install. Similarly, feature:requirement-remove allows removing provisioning requirements and uninstalling features/bundles. Mitigation Users are recommended to upgrade to Apache Karaf 4.4.13 or 4.5.0. For existing deployments or upgrades that preserve existing files in etc/, add the following rules to etc/org.apache.karaf.command.acl.feature.cfg (and any child instance etc/org.apache.karaf.command.acl.feature.cfg files): requirement-add = admin requirement-remove = admin Credit: hataehoon References: https://karaf.apache.org/ https://www.cve.org/CVERecord?id=CVE-2026-130808 -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEEGqjPktQJpzOT0Lc2v/LuQsgoLnYFAmsFY4wbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEL/y7kLIKC52oW8QAJEPjNBCn8ohNIqv+hob gjV7Iuu0unvpHZtwIsk9wg0sSSmIzCJp6hpDuidbgDcTGhmP4crzPdEAFyBXTY4w Dyi6CPTBZZ4+SjrQD0fm6g+yx7g81+oatEa1ldCh2vqx070Uti+5nrYkWiCN77WO Zyo3ow+RZNXLZE7I0mCHrRK9828po22pFJjnNYjwI/ja4zOPH8W6T7sqZJXH+Sp3 KOSyutIgYBsZR0iIe7b0ZhI0yvKUcyEIdCD1vkRjD/g4KoSZ8kpetGBhQe04aR3y Ld8tmfxT3VvY30dz09S3qq5HfAx2gZHHTTO0yNJ++7wbnJG2ROfha4xyyOBtiVcR WhUVVilo2RBUD2Veu0yRa/PtFqIWwlr90bzcu6T3akaoaFI+yawQ4WcyDyBf0OO+ QnXW1QlovgTDSz8+0uHKoWkNh9+2sdmHqoPOY6f4Ak5mjt0KkwctL60gdiy61k3v m2XKYbo9hJ7pWuBv7MTmvDyO3MBNvw4fv4vapwgYa2AOn91E3vdfQDUwT11xVMDX rqg+sErEAnl7PB4mxL3AMqly/+E4SqTAsPsrqgxwTOUGLaNOHfI7Cuz+jN+hdL7G 3qoPqjAg+OyYfMhKlEIONNspJx8GuyQo6fXwRmNPgtQ7vXmOE/dKgxvQOA8wHZxg fgYlexNqlJyKMm3cRrfWVhlM =hIqc -----END PGP SIGNATURE-----