GHSA-5rr2-29jr-5v63
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to remote JMX with any role
-
DeliverycreateMBean instantiates MLet (no RBAC check)
-
Exploitinvoke getMBeansFromURL allowed by 'get*=viewer' rule
-
ExecutionKaraf fetches attacker .mlet file
-
PersistLoad and run attacker classes in JVM
-
ImpactunregisterMBean removes evidence (no audit log)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires network reachability to Karaf's remote JMX connector (RMI registry/server on default ports 1099 and 44444, which are enabled by default) and valid JMX credentials of ANY role, including the least-privileged 'viewer' - so PR:L, not unauthenticated. The full RCE chain additionally depends on the shipped default etc/jmx.acl.cfg containing the permissive wildcard rule 'get* = viewer', which inadvertently authorizes getMBeansFromURL; deployments that have hardened this ACL or that restrict/deny non-'admin' JMX credentials break the invoke step. The createMBean/registerMBean/unregisterMBean authorization gap itself exists regardless of ACL configuration. Limiting factors: the attacker must possess a credential, the JMX port must be reachable, and outbound network access is needed to fetch the attacker-hosted .mlet file. Affects Apache Karaf before 4.4.12. |
| Impact | This is a genuine high-priority issue despite the absence of a scored CVSS vector, EPSS, KEV, or SSVC data in the input. The vulnerability is a complete authorization bypass in Apache Karaf's KarafMBeanServerGuard: createMBean/registerMBean/unregisterMBean are never forwarded to the RBAC check, and the advisory documents a concrete, self-contained chain from the lowest-privilege 'viewer' role to remote code execution via the standard JDK javax.management.loading.MLet classloader combined with the permissive default 'get* = viewer' ACL rule. No CVSS is provided by NVD, but the described access vector is network (remote JMX over RMI on default ports 1099/44444), complexity is low (deterministic, no race or heap grooming), and it requires only valid credentials of any role - mapping to roughly CVSS 3.1 8.8 (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H). The key limiting factor and the main reason this is not a maximum-severity/unauthenticated flaw is PR:L: an attacker must first hold or obtain any JMX credential, so exposure depends heavily on whether the JMX connector is network-reachable and how JMX credentials are managed. There is no EPSS/KEV/POC signal to confirm, so this is not confirmed as actively exploited; the risk rating rests on the vendor-confirmed technical impact (RCE) and the ubiquity of the enabling MLet gadget rather than on observed exploitation. No conflicting signals were found - the description and the inferred vector are consistent. |
| Exploit ScenarioDerived | An attacker with any valid JMX credential (even a least-privileged 'viewer' account) connects to Karaf's remote JMX RMI connector and calls createMBean() to instantiate javax.management.loading.MLet, which is not subject to any RBAC check. They then invoke getMBeansFromURL - permitted because it matches the default 'get* = viewer' ACL rule - pointing at an attacker-controlled .mlet file, causing Karaf to fetch and load attacker-supplied classes and execute code inside the Karaf JVM. No public exploit code is identified at time of analysis, though the advisory provides a fully detailed, reproducible attack path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Authorization bypass in Apache Karaf before 4.4.12 allows an authenticated JMX client holding any role - including the least-privileged 'viewer' - to evade RBAC and achieve remote code execution inside the Karaf JVM. Karaf's MBeanServer guard never checks the lifecycle operations createMBean, registerMBean and unregisterMBean, so a caller can instantiate and register the standard javax.management.loading.MLet class and then invoke its getMBeansFromURL operation, which the shipped default 'get* = viewer' ACL wildcard inadvertently authorizes, causing attacker-hosted classes to be fetched and loaded as new MBeans. Exploitation requires network reachability to the default-enabled remote JMX RMI connector on ports 1099/44444, a valid JMX credential of any role, and outbound network access to the attacker's .mlet host; no public exploit code and no active exploitation were identified at time of analysis, and the issue is rated important by the vendor while the independent assessment places it at high impact across confidentiality, integrity and availability.
RemediationAI
Vendor-released patch: upgrade to Apache Karaf 4.4.12 (released 27/9/26) or to 4.5.0 once available, as recommended in the advisory at https://seclists.org/oss-sec/2026/q3/970 and the release notes linked from https://karaf.apache.org/; the fix adds createMBean, registerMBean and unregisterMBean to the guarded operation list, resolves their roles by ObjectName and MBean class name, and ships default etc/jmx.acl.cfg rules restricting them to the 'admin' role. Until upgrading, restrict network access to the JMX RMI registry/server ports 1099 and 44444 to trusted hosts only, with the trade-off that remote JMX management and monitoring tooling from other hosts will stop working, or disable the remote JMX connector entirely if it is not needed, which removes the attack surface at the cost of losing remote management. Do not issue non-'admin' JMX credentials - remove or disable least-privileged accounts such as the 'viewer' role - accepting that read-only monitoring integrations will break, and additionally narrow or remove the permissive 'get* = viewer' wildcard in etc/jmx.acl.cfg, at minimum denying getMBeansFromURL, while noting that this only breaks the RCE invoke step and does not close the underlying createMBean/registerMBean/unregisterMBean authorization gap, which exists regardless of ACL configuration. Because the final stage requires fetching an MLet file from an attacker-controlled URL, restricting outbound network egress from the Karaf host to known destinations provides a further compensating control, with the operational cost of maintaining egress allow-lists; class-name-specific ACL rules in the style of createMBean(java.lang.String)[/javax\.management\.loading\..*/] = admin can be used as an interim hardening measure on patched or partially hardened deployments.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Karaf, a Java modulith/OSGi runtime, exposes a JMX MBeanServer over a remote JMX connector (RMI registry/server, enabled by default on ports 1099 and 44444). Access control is enforced by KarafMBeanServerGuard, implemented as a java.lang.reflect.Proxy around the underlying MBeanServer, with an MBeanInvocationHandler that forwards only a hard-coded allow-list of operation names ('invoke', 'getAttribute', 'getAttributes', 'setAttribute', 'setAttributes') to the RBAC check configured in etc/jmx.acl.*.cfg. Because MBeanServer#createMBean, #registerMBean and #unregisterMBean are absent from that list, calls to them pass straight through with no role check and, critically, no audit log entry - KarafMBeanServerGuard logs only on the RBAC-denial path, which this bypass never reaches. The second half of the chain abuses javax.management.loading.MLet, a standard JDK MBean acting as a remote classloader: once instantiated via the unguarded createMBean call, its getMBeansFromURL(URL) method fetches an MLet text file from an attacker-controlled URL and instantiates and registers the classes it lists in the target JVM. That invoke call does pass through the guard, but the default etc/jmx.acl.cfg grants the 'viewer' role to any method matching the wildcard rule 'get* = viewer' - a heuristic meant for read-only getters - so getMBeansFromURL is authorized on a default installation without any MLet-specific ACL entry. No CWE identifier is assigned in the available source data, but the root-cause class is a missing authorization check on a subset of administrative MBeanServer operations, compounded by an over-broad wildcard ACL. The vendor fix adds the three lifecycle operations to the guarded list, resolves their required roles from the jmx.acl* configuration by ObjectName and (for createMBean/registerMBean) MBean class name, and ships default etc/jmx.acl.cfg entries restricting all three to the 'admin' role, enabling class-name-specific rules such as createMBean(java.lang.String)[/javax\.management\.loading\..*/] = admin.
Know when Apache Karaf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Remote JMX (AV:N), deterministic bypass (AC:L), any authenticated role required (PR:L), no user interaction; MLet loads attacker code in the JVM yielding full C/I/A, scope unchanged.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 3
Executive ViewAI
Apache Karaf deployments that expose the remote JMX RMI connector are affected by an authorization bypass that allows a user with any JMX role, including the least-privileged viewer, to achieve remote code execution inside the Karaf JVM, potentially compromising the entire application server and its data. No public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis, so security leadership should prioritize immediate access restrictions and plan an upgrade to Apache Karaf 4.4.12 or later once available.
Disable or restrict remote JMX RMI connector (ports 1099/44444) to trusted hosts; enforce JMX ACLs that explicitly deny getMBeansFromURL and MBean lifecycle operations (createMBean, registerMBean, unregisterMBean) for non-admin roles; block outbound network access from Karaf hosts; monitor JMX and MBean registration logs; apply vendor patch when available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Apache Karaf
View allPrivilege escalation to remote code execution in Apache Karaf before 4.4.12 lets any authenticated shell session - inclu
Authenticated path traversal in Apache Karaf before 4.4.12 allows a principal holding the shipped 'manager' role to writ
Authenticated command injection in Apache Karaf's instance-management service lets a principal who can reach the instanc
LDAP filter injection in Apache Karaf before 4.4.12 allows a crafted login name to alter the structure of LDAP search fi
Privilege escalation in Apache Karaf versions before 4.4.12 allows any authenticated user of the shell or SSH console -
EUVD-2026-88664
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB