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

Medium 6.8 Published Updated

Attackers with log access can read sensitive broker passwords if debug logging is enabled in Apache ActiveMQ Artemis.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-27391?

CVE-2025-27391 is a medium-severity vulnerability in Apache ActiveMQ Artemis, published on 9 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-532

Which versions are affected by CVE-2025-27391?

2 open source packages ship an affected version, including org.apache.activemq:artemis-project. It affects 1 product.

PackageAffectedFixed in
org.apache.activemq:artemis-project MavenFrom 1.5.12.40.0
org.apache.activemq:artemis-project MavenFrom 1.5.12.40.0

Products include Apache Artemis.

How do I fix CVE-2025-27391?

Upgrade org.apache.activemq:artemis-project to 2.40.0 or later.

Is CVE-2025-27391 being exploited?

There is no known exploitation of CVE-2025-27391 in the wild and no public exploit code.

Sources

Also known as GHSA-pm4j-p7pm-fpvx, ROOT-APP-MAVEN-CVE-2025-27391.

Is CVE-2025-27391 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free