ADVISORIES

Vulnerability

CVE-2022-41678

Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.  In details, in ActiveMQ configurations, jetty allows org.jolokia.http.AgentServlet to handler request to /api/jolokia org.jolokia.http.HttpRequestHandler#handlePostRequest is able to create JmxRequest through JSONObject. And calls to org.jolokia.http.HttpRequestHandler#executeRequest. Into deeper calling stacks, org.jolokia.handler.ExecHandler#doHandleRequest can be invoked through refection. This could lead to RCE through via various mbeans. One example is unrestricted deserialization in jdk.management.jfr.FlightRecorderMXBeanImpl which exists on Java version above 11. 1 Call newRecording. 2 Call setConfiguration. And a webshell data hides in it. 3 Call startRecording. 4 Call copyTo method. The webshell will be written to a .jsp file. The mitigation is to restrict (by default) the actions authorized on Jolokia, or disable Jolokia. A more restrictive Jolokia configuration has been defined in default ActiveMQ distribution. We encourage users to upgrade to ActiveMQ distributions version including updated Jolokia configuration: 5.16.6, 5.17.4, 5.18.0, 6.0.0.

8 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • DEBIAN-CVE-2022-41678

    Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution. In details, in ActiveMQ configurations, jetty allows org.jolokia.http.AgentServlet to handler request to /api/jolokia…

    CVE-2022-41678 Debian Updated 20 November 2026
  • DLA-3936-1

    activemq - security update

    Known exploited CVE-2022-41678CVE-2023-46604 Debian Updated 20 November 2026
  • DSA-5798-1

    activemq - security update

    Known exploited CVE-2022-41678CVE-2023-46604 Debian Updated 20 November 2026
  • GHSA-53v4-42fg-g287

    Apache ActiveMQ Deserialization of Untrusted Data vulnerability

    High CVE-2022-41678 Maven Updated 4 November 2025
  • OESA-2023-1925

    activemq security update

    High CVE-2022-41678 openEuler Updated 18 August 2026
  • UBUNTU-CVE-2022-41678

    Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution. In details, in ActiveMQ configurations, jetty allows org.jolokia.http.AgentServlet to handler request to /api/jolokia…

    CVE-2022-41678 Ubuntu Updated 4 February 2026
  • USN-6910-1

    activemq vulnerabilities

    Known exploited CVE-2015-7559CVE-2018-11775CVE-2020-13920CVE-2021-26117 Ubuntu Updated 25 June 2026
  • USN-7268-1

    activemq vulnerabilities

    Known exploited CVE-2022-41678CVE-2023-46604 Ubuntu Updated 10 February 2026

References