Skip to content
Emerging threatsHigh

CVE-2022-41678Activemq Authentication Bypass

Apache ActiveMQ Deserialization of Untrusted Data vulnerability

Published Nov 28, 2023 · Updated Nov 24, 2026 · Also known as BIT-activemq-2022-41678, DEBIAN-CVE-2022-41678, DLA-3936-1, DSA-5798-1, GHSA-53v4-42fg-g287, OESA-2023-1925, UBUNTU-CVE-2022-41678, USN-7268-1

Key Facts

Patch immediately
  • CVE-2022-41678 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Activemq (Apache), rootio-activemq, org.apache.activemq:apache-activemq (maven) and 3 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 86% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Activemq 5.13.2+dfsg-2ubuntu0.1~esm1, Activemq 5.15.11-1ubuntu0.1~esm1, Activemq 5.15.8-2~18.04.1~esm1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

86%

Higher than 99.7% of all scored CVEs

Exploit maturity

None known

ATLAS score

36/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

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.

Affected Products

34 affected entries in total
ProductAffected versionsFixed in
ActivemqApacheSee advisory5.16.6
rootio-activemqrootioSee advisory5.16.1-1+deb11u1
org.apache.activemq:apache-activemqmaven>= 5.17.05.17.4
amq7/amq-broker-init-rhel8:7.12.0redhatSee advisory7
amq7/amq-broker-rhel8:7.12.0redhatSee advisory7
1 more affected products in the full CVE brief

Patched Releases

Activemq

5.13.2+dfsg-2ubuntu0.1~esm1, 5.15.11-1ubuntu0.1~esm1, 5.15.8-2~18.04.1~esm1, 5.16.1-1+deb11u1, 5.16.1-1ubuntu0.1, 5.16.1-1ubuntu0.1~esm1, 5.16.6, 5.16.7-1.oe1, 5.16.7-1.oe2203sp1, 5.16.7-1.oe2203sp2, 5.17.2+dfsg-2+deb12u1, 5.17.4, 5.17.6+dfsg-1

amq7/amq-broker-init-rhel8:7.12.0

7

amq7/amq-broker-rhel8-operator-bundle:7.12.0

10

amq7/amq-broker-rhel8:7.12.0

7

org.apache.activemq:apache-activemq

5.16.6, 5.17.4

rootio-activemq

5.16.1-1+deb11u1, 5.17.2+dfsg-2+deb12u1, 5.17.6+dfsg-1

Timeline

  1. Publicly disclosed

    Nov 28, 2023

  2. Last updated

    Nov 24, 2026

Weakness Type

  • CWE-287 Improper Authentication
  • CWE-502 Deserialization of Untrusted Data

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-41678 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.