{
  "id": "CVE-2026-34197",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34197",
  "published_at": "2026-04-07T07:50:10.958Z",
  "title": "Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans",
  "vendor": "Apache Software Foundation",
  "product": "Apache ActiveMQ Broker",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2026-04-16",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 9
  },
  "first_poc": {
    "created_at": "2026-04-08T09:18:33Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.1,
    "repo": "dinosn/CVE-2026-34197",
    "source": "github"
  },
  "poc_repo_count": 9,
  "exploit_count": 2,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "Improper Input Validation, Improper Control of Generation of Code ('Code Injection') vulnerability in Apache ActiveMQ Broker, Apache ActiveMQ.\n\nApache 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\nBrokerService.addNetworkConnector(String) and BrokerService.addConnector(String).\n\nAn 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.\nBecause 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().\n\n\n\nThis 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.\n\n\n\nUsers are recommended to upgrade to version 5.19.4 or 6.2.3, which fixes the issue",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:apache:activemq_broker:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [
    {
      "repo": "0xBlackash/CVE-2026-34197",
      "url": "https://github.com/0xBlackash/CVE-2026-34197",
      "created_at": "2026-04-08T07:28:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "ashrafzaryouh/CVE-2026-34197",
      "url": "https://github.com/ashrafzaryouh/CVE-2026-34197",
      "created_at": "2026-04-08T07:28:49Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-02-06T16:11:55Z"
    },
    {
      "repo": "dinosn/CVE-2026-34197",
      "url": "https://github.com/dinosn/CVE-2026-34197",
      "created_at": "2026-04-08T09:18:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    },
    {
      "repo": "DEVSECURITYSPRO/CVE-2026-34197",
      "url": "https://github.com/DEVSECURITYSPRO/CVE-2026-34197",
      "created_at": "2026-04-08T20:07:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-05-17T23:37:44Z"
    },
    {
      "repo": "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE",
      "url": "https://github.com/AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE",
      "created_at": "2026-04-09T09:44:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-09-11T05:43:50Z"
    },
    {
      "repo": "KONDORDEVSECURITYCORP/CVE-2026-34197",
      "url": "https://github.com/KONDORDEVSECURITYCORP/CVE-2026-34197",
      "created_at": "2026-04-09T19:41:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-09T01:04:20Z"
    },
    {
      "repo": "keraattin/CVE-2026-34197",
      "url": "https://github.com/keraattin/CVE-2026-34197",
      "created_at": "2026-04-14T20:44:24Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 2,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 50,
      "suspicious": true,
      "suspicion_reasons": [
        "pipes a download into a shell / encoded PowerShell in README.md"
      ],
      "status": "analyzed",
      "owner_created_at": "2014-02-17T21:11:36Z"
    },
    {
      "repo": "xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ-",
      "url": "https://github.com/xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ-",
      "created_at": "2026-04-20T02:01:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-28T06:18:39Z"
    },
    {
      "repo": "Catherines77/ActiveMQ-EXPtools",
      "url": "https://github.com/Catherines77/ActiveMQ-EXPtools",
      "created_at": "2026-04-20T02:38:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 86,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-08-10T09:13:17Z"
    },
    {
      "repo": "rootdirective-sec/CVE-2026-34197-Lab",
      "url": "https://github.com/rootdirective-sec/CVE-2026-34197-Lab",
      "created_at": "2026-05-08T05:39:56Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-06T14:05:16Z"
    },
    {
      "repo": "LAT-06/CVE-2026-34197",
      "url": "https://github.com/LAT-06/CVE-2026-34197",
      "created_at": "2026-05-18T03:30:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-10-11T03:49:56Z"
    },
    {
      "repo": "asdasddqwdq29-a11y/CVE-2026-34197",
      "url": "https://github.com/asdasddqwdq29-a11y/CVE-2026-34197",
      "created_at": "2026-06-06T12:39:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-05-21T15:27:02Z"
    },
    {
      "repo": "dinosn/apache-activemq-rce-research",
      "url": "https://github.com/dinosn/apache-activemq-rce-research",
      "created_at": "2026-07-04T06:45:18Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 9,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    },
    {
      "repo": "pssec-io/CVE-2026-34197",
      "url": "https://github.com/pssec-io/CVE-2026-34197",
      "created_at": "2026-07-08T11:35:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-06-28T05:13:25Z"
    },
    {
      "repo": "nirvanasec/CVE-2026-34197-PoC",
      "url": "https://github.com/nirvanasec/CVE-2026-34197-PoC",
      "created_at": "2026-09-04T15:43:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-06-17T08:12:22Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache ActiveMQ Broker",
        "ranges": [
          "\u003c 5.19.4",
          "\u003e= 6.0.0, \u003c 6.2.3"
        ],
        "fixed_in": [
          "5.19.4",
          "6.2.3"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache ActiveMQ All",
        "ranges": [
          "\u003c 5.19.4",
          "\u003e= 6.0.0, \u003c 6.2.3"
        ],
        "fixed_in": [
          "5.19.4",
          "6.2.3"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache ActiveMQ",
        "ranges": [
          "\u003c 5.19.4",
          "\u003e= 6.0.0, \u003c 6.2.3"
        ],
        "fixed_in": [
          "5.19.4",
          "6.2.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Apache ActiveMQ Broker to 5.19.4 or 6.2.3 or later.",
      "Upgrade Apache ActiveMQ All to 5.19.4 or 6.2.3 or later.",
      "Upgrade Apache ActiveMQ to 5.19.4 or 6.2.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://activemq.apache.org/security-advisories.data/CVE-2026-34197-announcement.txt"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_activemq_jolokia_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache ActiveMQ RCE via Jolokia addNetworkConnector (exploit/multi/http/apache_activemq_jolokia_rce)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-34197.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache ActiveMQ - Remote Code Execution",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/jolokia/",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json,text/plain,*/*"
        },
        {
          "name": "Origin",
          "value": "http://{var}:8161"
        },
        {
          "name": "Origin",
          "value": "http://127.0.0.1"
        },
        {
          "name": "Origin",
          "value": "http://127.0.0.1:8261"
        },
        {
          "name": "Origin",
          "value": "http://127.0.0.1:8161"
        },
        {
          "name": "Origin",
          "value": "http://127.0.0.1:8081"
        },
        {
          "name": "Origin",
          "value": "{var}"
        },
        {
          "name": "Origin",
          "value": "http://{var}"
        }
      ],
      "body_markers": [
        "\"type\":\"read\"",
        "\"mbean\":\"org.apache.activemq:type=Broker,brokerName=localhost\"",
        "\"attribute\":\"BrokerId\""
      ],
      "content_type": "application/json",
      "ports": [
        8081,
        8082,
        8161,
        8261,
        8888,
        9100,
        9999
      ],
      "protocol": "http",
      "repos": [
        "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE",
        "DEVSECURITYSPRO/CVE-2026-34197",
        "LAT-06/CVE-2026-34197",
        "asdasddqwdq29-a11y/CVE-2026-34197",
        "dinosn/CVE-2026-34197",
        "nirvanasec/CVE-2026-34197-PoC",
        "pssec-io/CVE-2026-34197",
        "rootdirective-sec/CVE-2026-34197-Lab",
        "xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ-"
      ],
      "repo_count": 9,
      "confidence": 0.7,
      "evidence": [
        "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:244",
        "DEVSECURITYSPRO/CVE-2026-34197/exploit.py:241",
        "LAT-06/CVE-2026-34197/exploit_poc.py:178",
        "asdasddqwdq29-a11y/CVE-2026-34197/exploit_webshell.py:137",
        "asdasddqwdq29-a11y/CVE-2026-34197/upstream-poc/exploit_poc.py:178",
        "dinosn/CVE-2026-34197/exploit_poc.py:178",
        "nirvanasec/CVE-2026-34197-PoC/README.md:93",
        "nirvanasec/CVE-2026-34197-PoC/README.md:157",
        "pssec-io/CVE-2026-34197/activemq-patched/instructions.txt:9",
        "pssec-io/CVE-2026-34197/activemq-patched/instructions.txt:19",
        "pssec-io/CVE-2026-34197/instructions.txt:3",
        "pssec-io/CVE-2026-34197/instructions.txt:37",
        "rootdirective-sec/CVE-2026-34197-Lab/README.md:358",
        "rootdirective-sec/CVE-2026-34197-Lab/poc/poc.py:192",
        "rootdirective-sec/CVE-2026-34197-Lab/poc/poc.py:248",
        "xshysjhq/CVE-2026-34197-payload-Apache-ActiveMQ-/payload.py:42"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/jolokia/",
      "headers": [
        {
          "name": "Origin",
          "value": "http://localhost:8161"
        }
      ],
      "ports": [
        8161,
        8888,
        9999
      ],
      "protocol": "http",
      "repos": [
        "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE",
        "DEVSECURITYSPRO/CVE-2026-34197",
        "LAT-06/CVE-2026-34197",
        "asdasddqwdq29-a11y/CVE-2026-34197",
        "dinosn/CVE-2026-34197"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "evidence": [
        "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:141",
        "AtoposX-J/CVE-2026-34197-Apache-ActiveMQ-RCE/exp.py:168",
        "DEVSECURITYSPRO/CVE-2026-34197/exploit.py:138",
        "DEVSECURITYSPRO/CVE-2026-34197/exploit.py:165",
        "LAT-06/CVE-2026-34197/README.md:101",
        "LAT-06/CVE-2026-34197/exploit_poc.py:105",
        "LAT-06/CVE-2026-34197/exploit_poc.py:131",
        "asdasddqwdq29-a11y/CVE-2026-34197/README.md:80",
        "asdasddqwdq29-a11y/CVE-2026-34197/exploit_webshell.py:148",
        "asdasddqwdq29-a11y/CVE-2026-34197/exploit_webshell.py:210",
        "asdasddqwdq29-a11y/CVE-2026-34197/upstream-poc/exploit_poc.py:105",
        "asdasddqwdq29-a11y/CVE-2026-34197/upstream-poc/exploit_poc.py:131",
        "dinosn/CVE-2026-34197/exploit_poc.py:105",
        "dinosn/CVE-2026-34197/exploit_poc.py:131"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/jolokia/version",
      "headers": [
        {
          "name": "Origin",
          "value": "http://127.0.0.1:8081"
        },
        {
          "name": "Origin",
          "value": "http://127.0.0.1:8082"
        }
      ],
      "ports": [
        8081,
        8082,
        8161
      ],
      "protocol": "http",
      "repos": [
        "nirvanasec/CVE-2026-34197-PoC",
        "rootdirective-sec/CVE-2026-34197-Lab"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "nirvanasec/CVE-2026-34197-PoC/README.md:28",
        "rootdirective-sec/CVE-2026-34197-Lab/README.md:131",
        "rootdirective-sec/CVE-2026-34197-Lab/README.md:140"
      ]
    },
    {
      "method": "GET",
      "path_template": "/admin/{var}.jsp",
      "query_markers": [
        "cmd=id",
        "cmd=cat /etc/passwd"
      ],
      "ports": [
        8161
      ],
      "protocol": "http",
      "repos": [
        "asdasddqwdq29-a11y/CVE-2026-34197"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "asdasddqwdq29-a11y/CVE-2026-34197/README.md:107",
        "asdasddqwdq29-a11y/CVE-2026-34197/README.md:110"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/jolokia/list/org.apache.activemq:type=Broker,brokerName=localhost",
      "ports": [
        8161
      ],
      "protocol": "http",
      "repos": [
        "nirvanasec/CVE-2026-34197-PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "nirvanasec/CVE-2026-34197-PoC/README.md:34"
      ]
    }
  ],
  "rules": []
}
