CVE-2025-27391: Apache ActiveMQ Artemis: Passwords leaking from broker properties in the debug log

Published Apr 9, 2025
·
Updated

Insertion of Sensitive Information into Log File vulnerability in Apache ActiveMQ Artemis. All the values of the broker properties are logged when the org.apache.activemq.artemis.core.config.impl.ConfigurationImpl logger has the debug level enabled.

This issue affects Apache ActiveMQ Artemis: from 1.5.1 before 2.40.0. It can be mitigated by restricting log access to only trusted users.

Users are recommended to upgrade to version 2.40.0, which fixes the issue.

Affected Software

4 affected componentsFixes available
Apache ActiveMQ Artemis>=1.5.1<2.40.0
maven/org.apache.activemq:artemis-project>=1.5.1<2.40.0
2.40.0
Apache ActiveMQ Artemis>=1.5.1<2.40.0
Apache ARTEMIS>=1.5.1<2.40.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.activemq:artemis-project to a version that resolves this vulnerability.

    Fixed in 2.40.0
  2. Configuration

    Disable the DEBUG log level for the org.apache.activemq.artemis.core.config.impl.ConfigurationImpl logger to prevent broker property values (including passwords) from being written to logs.

    org.apache.activemq.artemis.core.config.impl.ConfigurationImpl logger log level = disable DEBUG
  3. Compensating control

    Restrict access to broker logs to only trusted users to mitigate exposure of sensitive information.

Event History

Apr 9, 2025
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
DescriptionWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:32 PM
Data Sourced
via GitHub·03:32 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-27391?

CVE-2025-27391 has a medium severity level due to the risk of sensitive information being exposed in log files.

2

How do I fix CVE-2025-27391?

To fix CVE-2025-27391, disable debug logging for the org.apache.activemq.artemis.core.config.impl.ConfigurationImpl logger.

3

What versions of Apache ActiveMQ Artemis are affected by CVE-2025-27391?

CVE-2025-27391 affects Apache ActiveMQ Artemis versions from 1.5.1 to 2.40.0 inclusive.

4

What type of information is compromised in CVE-2025-27391?

CVE-2025-27391 compromises broker property values that are logged when debug logging is enabled.

5

Is there a workaround for CVE-2025-27391 if I cannot upgrade?

As a workaround for CVE-2025-27391, consider temporarily disabling or restricting debug logging to prevent sensitive information from being logged.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203