Skip to content
Heist/ feed
Back to feed
High

activemq — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-34197

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec(). This issue affects Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue

Products
activemq
Affected versions
5.13.2+dfsg-2, 5.13.2+dfsg-2ubuntu0.1~esm1, 5.14.5-3, 5.15.10-1, 5.15.11-1, 5.15.11-1ubuntu0.1~esm1, 5.15.2-2, 5.15.3-2, 5.15.8-2~18.04, 5.15.8-2~18.04.1~esm1, 5.16.1-1, 5.16.1-1ubuntu0.1, 5.16.1-1ubuntu0.1~esm1, 5.17.2+dfsg-2, 5.17.6+dfsg-1, 5.17.6+dfsg-2, 5.17.6+dfsg-2ubuntu1, 5.6.0+dfsg1-4+deb8u1ubuntu1, 5.6.0+dfsg1-5
Fixed versions
Not specified
CVEs
CVE-2026-34197
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:00 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-34197

core-osv · Original source

Published 7 Apr 2026, 09:16 UTC

Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec(). This issue affects Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue

osv:UBUNTU-CVE-2026-34197

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

activemq

Fixed versions: Not specified

Complete source record
{
  "id": "5e48d8a61bbb8a96a3a355b05e9dbe6ea6bd5e808da7551bc42655ba0801ba48",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-34197",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-34197",
    "summary": "Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ. Apache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ on the web console. The default Jolokia access policy permits exec operations on all ActiveMQ MBeans (org.apache.activemq:*), including BrokerService.addNetworkConnector(String) and BrokerService.addConnector(String). An authenticated attacker can invoke these operations with a crafted discovery URI that triggers the VM transport's brokerConfig parameter to load a remote Spring XML application context using ResourceXmlApplicationContext. Because Spring's ResourceXmlApplicationContext instantiates all singleton beans before the BrokerService validates the configuration, arbitrary code execution occurs on the broker's JVM through bean factory methods such as Runtime.exec(). This issue affects Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ All: before 5.19.4, from 6.0.0 before 6.2.3; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.3. Users are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue",
    "evidence": "osv:UBUNTU-CVE-2026-34197",
    "products": [
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.6.0+dfsg1-4+deb8u1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.6.0+dfsg1-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.13.2+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.13.2+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.14.5-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.15.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.15.3-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.15.8-2~18.04",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.15.8-2~18.04.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.15.10-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.15.11-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.15.11-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.16.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.16.1-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.16.1-1ubuntu0.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.17.2+dfsg-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.17.6+dfsg-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.17.6+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.17.6+dfsg-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.17.6+dfsg-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.17.6+dfsg-2ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "activemq",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.17.6+dfsg-2",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-34197",
      "aliases": [
        "UBUNTU-CVE-2026-34197"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "high"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "5.6.0+dfsg1-4+deb8u1ubuntu1",
            "5.6.0+dfsg1-5",
            "5.13.2+dfsg-2",
            "5.13.2+dfsg-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.13.2+dfsg-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.13.2+dfsg-2ubuntu0.1~esm1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "5.14.5-3",
            "5.15.2-2",
            "5.15.3-2",
            "5.15.8-2~18.04",
            "5.15.8-2~18.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.15.8-2~18.04.1~esm1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.15.8-2~18.04.1~esm1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "5.15.10-1",
            "5.15.11-1",
            "5.15.11-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.15.11-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.15.11-1ubuntu0.1~esm1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "5.16.1-1",
            "5.16.1-1ubuntu0.1~esm1",
            "5.16.1-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.16.1-1ubuntu0.1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.16.1-1ubuntu0.1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "5.17.2+dfsg-2",
            "5.17.6+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.17.6+dfsg-1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.17.6+dfsg-1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "5.17.6+dfsg-1",
            "5.17.6+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.17.6+dfsg-2"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.17.6+dfsg-2"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.17.6+dfsg-2",
            "5.17.6+dfsg-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.17.6+dfsg-2ubuntu1"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.17.6+dfsg-2ubuntu1"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "activemq",
            "purl": "pkg:deb/ubuntu/activemq?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.17.6+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34197.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "activemq",
                "binary_version": "5.17.6+dfsg-2"
              },
              {
                "binary_name": "libactivemq-java",
                "binary_version": "5.17.6+dfsg-2"
              }
            ],
            "priority_reason": "CVE is in CISA KEV list"
          }
        }
      ],
      "modified": "2026-10-17T13:00:00.847636607Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-34197"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-34197",
        "https://www.cve.org/CVERecord?id=CVE-2026-34197",
        "https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt",
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-34197",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360122,
  "published_at": "2026-04-07T09:16:00+00:00"
}