CVE-2026-59271
Description
A flaw was found in Spring AMQP. When the RabbitMQ management aliveness check fails, the configured administrator password is inadvertently embedded in cleartext within the generated exception message. This could allow an attacker with access to system logs or error reporting to obtain sensitive credentials, leading to unauthorized access or further compromise of the system.
Statement
This vulnerability is rated as having Moderate impact for Red Hat products because exposure of broker administrative credentials requires both a failed aliveness health check and existing unauthorized access to application logs or monitoring outputs. Under standard production configurations, health inspection probes succeed normally, and diagnostic log destinations are protected by local access controls. An external attacker cannot directly view these credentials without prior access to internal error streams or audit files.
Mitigation
Upgrade to the corresponding fixed versions per the spring.io advisory (4.1.1 OSS / 4.1.0.1 enterprise, 4.0.5 OSS / 4.0.4.1 enterprise, 3.2.13, 2.4.19); avoid placing real admin credentials in RABBITMQ_TEST_ADMIN_PASSWORD; restrict access to CI/test logs and monitoring.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.3 | 6.5 | 5.3 |
| Attack Vector | Network | Network | Network |
| Attack Complexity | High | Low | High |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | High | High | High |
| Integrity Impact | None | None | None |
| Availability Impact | None | None | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cve.org: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Application Data
Often this will either reveal sensitive information which may be used to launch another, more focused attack or disclose private information stored in the server. For example, an attempt to exploit a path traversal weakness (CWE-22) might yield the full pathname of the installed application. In turn, this could be used to select the proper number of ".." sequences to navigate to the targeted file. An attack using SQL injection (CWE-89) might not initially succeed, but an error message could reveal the malformed query, which would expose query logic and possibly even passwords or other sensitive information used within the query.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.