Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rabbitmq/amqp091-go
  4. ›
  5. CVE-2026-77407

CVE-2026-77407: RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields

September 17, 2026

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 →

Affected versions

All versions before 1.13.0

Fixed versions

  • 1.13.0

Solution

Upgrade to version 1.13.0 or above.

Impact 7.9 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-316: Cleartext Storage of Sensitive Information in Memory

Source file

go/github.com/rabbitmq/amqp091-go/CVE-2026-77407.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:50 +0000.