CVE-2026-77407: RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
An information disclosure vulnerability exists in the AMQP client implementation’s authentication handling configuration. Following a successful connection handshake, the Connection.Config.SASL field stores the Authentication implementation state used to establish the session.
For standard PLAIN authentication, this state utilizes the PlainAuth struct, which defines both Username and Password as publicly exported, plaintext string fields. Because this sensitive data is retained permanently in-memory within an exported field structure, any peripheral code, internal package, reflective logger, dependency, or automated debugging utility with access to the core *Connection object can read and expose the raw credentials.
References
- github.com/advisories/GHSA-27gv-rfvv-22mv
- github.com/rabbitmq/amqp091-go/commit/fa013b8447eb60988db3c9281ff6b981e4d2fb4f
- github.com/rabbitmq/amqp091-go/pull/350
- github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
- github.com/rabbitmq/amqp091-go/security/advisories/GHSA-27gv-rfvv-22mv
- nvd.nist.gov/vuln/detail/CVE-2026-77407
Code Behaviors & Features
Detect and mitigate CVE-2026-77407 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →