-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 CVE-2026-124615: Apache Karaf: feature:requirement-add / feature:requirement-remove command ACL bypass allows a viewer to install and run arbitrary code Severity: important Affected versions: - - Apache Karaf before 4.4.13 Description: The shell command ACL for the feature scope (etc/org.apache.karaf.command.acl.feature.cfg) restricts feature:install, feature:uninstall, feature:start and feature:stop to the admin role, but had no entry for feature:requirement-add or feature:requirement-remove. The provisioning resolver turns a requirement into the same install/start (or uninstall) action as feature:install / feature:uninstall: a bundle: requirement causes an arbitrary bundle to be downloaded and started, and a feature: requirement installs that feature. Because the two commands had no ACL, a user authenticated with only the viewer (and ssh) role could invoke them and cause Apache Karaf to download, install and start an attacker-chosen bundle, which then runs with the full authority of the Karaf process — thereby bypassing the admin-only authorization enforced on feature:install and bundle:install. This is the same class of issue as the feature:repo-add -i / feature:repo-remove -u bypass, on sibling commands not covered by that earlier fix. Mitigation: Upgrade to Apache Karaf 4.4.12 or 4.5.0 (or later), which restrict feature:requirement-add and feature:requirement-remove to the admin role. As an interim workaround on affected versions, add the following two lines to etc/org.apache.karaf.command.acl.feature.cfg; the change is picked up at runtime without a restart: requirement-add = admin requirement-remove = admin Credit: a01066622184@gmail.com References: https://karaf.apache.org/ https://www.cve.org/CVERecord?id=CVE-2026-124615 -----BEGIN PGP SIGNATURE----- iQJPBAEBCAA5FiEEGqjPktQJpzOT0Lc2v/LuQsgoLnYFAmsFYDgbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEL/y7kLIKC52WxYP/AoPk05fpXWIAxkVHdOA sfSF6xUF9no/XhVsln5X5I4mezobapfQimVZmTF82CPIdTyOhTRmwS4BVb31mjJ4 55kGX/sGV1K6GGM76rg57vM9mytTBN2toC4o+INtqGL8CGLI7gb9OMitpPq3KjTP 2wrByoJGO+wtHMD7trbTZ05edtzlm4t1RA0Dh0eJnHL/i9+AFywSWAaPk6aWynzr 03Js7+QSRJXKsNmfDQ+v0XBk4mL7PJbyVbPmlqlWXrPcAoIuTVFMtHJeNv6SqZW+ 28sew0XGGqFL+rwbqTrktEOkd+AAh65OJYT4B78zWY1baLJ3Q+AciqZNbQ4JZe2k ooVjw7T5roHrbqHO2CXqEv0UhH1KODLoKd7PKNLH9BlVYkyKokoMTywqtlShwMYy B6VWCDOq7o/P3/456KsAbb6uGlN44j2JUndBZ3xDAqnZLAKC+WeUe1OgsjR82Ys8 rerWwjWy8Ssey1OMdvT/KPUQuHIQanqhlPwdoeZnE9ZMsacAGXaH41huVFfEVyKm f9bku0c7cL90fnUH/Tas9vrumHe9uRJHbN330PhFioUpIBhJTV63RXypB+g5MENa nJRD5gJyldUjU/bWLeQMgitYuUlIloKt5g/IF2r7pTXdIJ3nXBnFnXHYkI0CB3AO WkNE0aNyeh449Vodg0rFvZdH =u8My -----END PGP SIGNATURE-----