CVE-2026-33227
Java vulnerability analysis and mitigation

Overview

CVE-2026-33227 is a classpath path traversal vulnerability in Apache ActiveMQ affecting the Client, Broker, All, and Web components. Due to improper validation of user-supplied "key" values, an authenticated attacker can traverse the classpath via path concatenation in two contexts: when creating a Stomp consumer and when browsing messages in the Web console. Affected versions include Apache ActiveMQ (all components) before 5.19.3 and from 6.0.0 before 6.2.2. It was disclosed on April 7, 2026, with credit to researcher Dawei Wang, and carries a CVSS v3.1 base score of 4.3 (Medium) (Apache Advisory, GitHub Advisory).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). When a user-controlled "key" value is concatenated into a classpath path without adequate sanitization, an attacker can craft path traversal sequences (e.g., ../) to cause the application to load arbitrary resources from the classpath. The flaw manifests in two code paths: the Stomp consumer creation flow and the Web console message browsing functionality. Notably, versions 5.19.3 and 6.2.2 partially address the issue but fail on Windows due to a path separator resolution bug, which was fully corrected in 5.19.4 and 6.2.3 (Apache Advisory, oss-security).

Impact

Successful exploitation allows an authenticated attacker to load arbitrary classpath resources, resulting in a limited confidentiality impact (CVSS C:L). While the direct impact is constrained to resource disclosure from the classpath, the advisory notes this vulnerability could be chained with other attacks to achieve broader exploitation, potentially including unauthorized access to sensitive configuration files or credentials bundled in the classpath. Integrity and availability are not directly impacted by this vulnerability alone (Apache Advisory, GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation as of the time of disclosure. The vulnerability requires valid authentication credentials, which limits the attack surface. The EPSS score is approximately 0.077% (23rd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been reported (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify Apache ActiveMQ instances running vulnerable versions (before 5.19.3 or 6.0.0–6.2.1) using network scanning tools or service banners. Determine if the Web console or Stomp protocol endpoint is accessible.
  2. Authentication: Obtain valid credentials for the ActiveMQ instance (e.g., default credentials such as admin/admin, or compromised user accounts).
  3. Craft malicious key value: Construct a "key" parameter containing path traversal sequences (e.g., ../../sensitive-resource) that, when concatenated with the application's base classpath path, resolves to a target resource outside the intended directory.
  4. Trigger via Stomp consumer or Web console: Submit the crafted key either by creating a Stomp consumer with the malicious key value or by browsing messages in the Web console with the traversal payload embedded in the relevant parameter.
  5. Load classpath resource: The application loads the targeted classpath resource without proper restriction, potentially exposing configuration files, credentials, or other sensitive data bundled in the classpath.
  6. Chain with secondary attack: Use any disclosed sensitive information (e.g., credentials, internal configuration) to escalate privileges or pivot to further exploitation (Apache Advisory, GitHub Advisory).

Indicators of compromise

  • Network: Unusual authenticated requests to ActiveMQ Stomp endpoints or Web console containing path traversal sequences (e.g., ../, %2e%2e%2f) in key or parameter fields.
  • Logs: ActiveMQ broker or web logs showing requests with anomalous "key" values containing directory traversal patterns; unexpected classpath resource access errors or successful loads of non-standard resources.
  • Application Behavior: Unexpected classpath resource loading events logged by the JVM or application framework; errors referencing files outside the expected resource directories.

Mitigation and workarounds

Apache recommends upgrading to version 5.19.4 or 6.2.3 (or later) for all affected components (activemq-client, activemq-broker, activemq-all, activemq-web). Versions 5.19.3 and 6.2.2 also address the issue but only for non-Windows environments due to a path separator bug; Windows users must upgrade to 5.19.4 or 6.2.3. As an interim measure, applying the principle of least privilege to limit authenticated user capabilities can reduce exposure (Apache Advisory, GitHub Advisory).

Community reactions

The vulnerability was disclosed via the oss-security mailing list by Apache ActiveMQ maintainer Christopher L. Shannon on April 6, 2026, crediting Dawei Wang as the finder. Community reaction has been relatively muted given the low-to-moderate severity rating and the authentication requirement. No significant media coverage or notable researcher commentary beyond standard vulnerability tracking has been observed (oss-security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

activemq

Affected

sid

activemq

Affected

trixie

activemq

Affected

Ubuntu

Unknown

bionic (esm-apps)

activemq

Unknown

devel

activemq

Unknown

focal (esm-apps)

activemq

Unknown

jammy

activemq

Unknown

jammy (esm-apps)

activemq

Unknown

noble

activemq

Unknown

noble (esm-apps)

activemq

Unknown

resolute

activemq

Unknown

RHEL / CentOS

Affected

RHEL 8

log4j:2/log4j.src

Affected

RHEL 9

log4j.src

Affected

SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-services
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-55864HIGH7.7
  • Java logoJava
  • org.geonetwork-opensource:gn-web-app
NoYesSep 09, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management