CVE-2026-77407
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.0
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77407- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Weakness
- CWE-316
- Updated
- 2026-11-02
EUVDEUVD-2026-80805
7.0
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
EUVD-2026-80805- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-27gv-rfvv-22mv
7.0
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
Summary
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.
Vulnerability Details
Mechanism
The vulnerability stems from the structural design of the configuration storage used during and after the AMQP handshake:
// auth.go:21-23
type PlainAuth struct {
Username string
Password string // exported plaintext
}
When an application initializes a connection, the PlainAuth object is deeply nested inside the configuration structure (Connection.Config). Even after the handshake concludes and authentication is complete, this structure persists natively in-memory for the duration of the network connection's lifecycle.
Because Password is an exported string field, standard automated inspection mechanisms can read its value without restriction.
Affected Code Paths & Integrations
Any sub-component or library that traverses or reads the *Connection object will inadvertently read the plaintext password, including:
- Reflective Loggers: Structured logging frameworks that serialize nested configuration structs into JSON/Log formats.
- APM & Performance Agents: Automated telemetry or Application Performance Monitoring tools that capture state snapshots.
- Debugging & Panic Handlers: Mid-tier software or dump libraries designed to capture goroutine state or print deep struct hierarchies upon program errors or signals.
Impact
The credential remains vulnerable to leak paths into logging pipelines, log aggregators, security information and event management (SIEM) systems, or standard output. Once transmitted to external log infrastructure, these credentials become accessible to unprivileged operators or any actor with access to log archives.
Attack Vector
An attacker does not necessarily need direct remote code execution to exploit this flaw; instead, the vulnerability acts as a credential harvesting vector inside multi-tenant environments or via secondary log exposure:
- Configuration Dump: An operator configures a standard reflective logger or third-party APM package to capture system state parameters, including the active AMQP
*Connectionobject. - Reflective Access: The inspection engine uses Go's
reflectpackage to walk the structural hierarchy, pulling the string value fromConnection.Config.SASL.(*PlainAuth).Password. - Exfiltration: The plaintext password is written to standard system logs, which are then scraped into shared logging aggregators, exposing production infrastructure credentials to a wider audience.
- Record
GHSA-27gv-rfvv-22mv- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Weakness
- CWE-316
- Updated
- 2026-11-02
NVD
7.0
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77407- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-316
- Updated
- 2026-11-02
OSV
7.0
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77407- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Weakness
- CWE-316
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-77407
7.0
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
DEBIAN-CVE-2026-77407- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-27gv-rfvv-22mv
7.0
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields
Summary
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.
Vulnerability Details
Mechanism
The vulnerability stems from the structural design of the configuration storage used during and after the AMQP handshake:
// auth.go:21-23
type PlainAuth struct {
Username string
Password string // exported plaintext
}
When an application initializes a connection, the PlainAuth object is deeply nested inside the configuration structure (Connection.Config). Even after the handshake concludes and authentication is complete, this structure persists natively in-memory for the duration of the network connection's lifecycle.
Because Password is an exported string field, standard automated inspection mechanisms can read its value without restriction.
Affected Code Paths & Integrations
Any sub-component or library that traverses or reads the *Connection object will inadvertently read the plaintext password, including:
- Reflective Loggers: Structured logging frameworks that serialize nested configuration structs into JSON/Log formats.
- APM & Performance Agents: Automated telemetry or Application Performance Monitoring tools that capture state snapshots.
- Debugging & Panic Handlers: Mid-tier software or dump libraries designed to capture goroutine state or print deep struct hierarchies upon program errors or signals.
Impact
The credential remains vulnerable to leak paths into logging pipelines, log aggregators, security information and event management (SIEM) systems, or standard output. Once transmitted to external log infrastructure, these credentials become accessible to unprivileged operators or any actor with access to log archives.
Attack Vector
An attacker does not necessarily need direct remote code execution to exploit this flaw; instead, the vulnerability acts as a credential harvesting vector inside multi-tenant environments or via secondary log exposure:
- Configuration Dump: An operator configures a standard reflective logger or third-party APM package to capture system state parameters, including the active AMQP
*Connectionobject. - Reflective Access: The inspection engine uses Go's
reflectpackage to walk the structural hierarchy, pulling the string value fromConnection.Config.SASL.(*PlainAuth).Password. - Exfiltration: The plaintext password is written to standard system logs, which are then scraped into shared logging aggregators, exposing production infrastructure credentials to a wider audience.
- Record
GHSA-27gv-rfvv-22mv- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Weakness
- CWE-316
- Updated
- 2026-11-02
OSVRHSA-2026:68290
8.8
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:68290- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-77407
7.0
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
UBUNTU-CVE-2026-77407- CVSS 4.0
- 7.0 High
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:L/SA:L - Updated
- 2026-11-02
OSVAZL-103194 No score
CVE-2026-77407 affecting package keda 2.14.1-19
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
AZL-103194- Updated
- 2026-11-02
OSVAZL-103278 No score
CVE-2026-77407 affecting package telegraf for versions less than 1.31.0-34
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, PlainAuth values defined in auth.go retain passwords as exported plaintext fields in Connection.Config.SASL after a successful PLAIN authentication handshake. The Connection.openComplete method in connection.go does not clear those values. Code with access to the Connection object, including reflective loggers, application performance monitoring agents, debugging utilities, and panic handlers, can traverse the configuration and expose the credentials to logs or state captures. The credential remains available for the lifetime of the connection instead of being cleared after authentication. This issue is fixed in version 1.13.0.
- Record
AZL-103278- Updated
- 2026-11-02
OSVGO-2026-6491 No score
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields in github.com/rabbitmq/amqp091-go
RabbitMQ amqp091-go: Plaintext Credential Exposure via Exported PLAIN Authentication Struct Fields in github.com/rabbitmq/amqp091-go
- Record
GO-2026-6491- Updated
- 2026-11-02
OSVROOT-APP-GOBINARY-CVE-2026-77407 No score
CVE-2026-77407 in github.com/rabbitmq/amqp091-go - Patched by Root
Root has patched CVE-2026-77407 in the github.com/rabbitmq/amqp091-go package for Root:Go. Multiple fixed versions available.
- Record
ROOT-APP-GOBINARY-CVE-2026-77407- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/rabbitmq/amqp091-goGo |
before 1.13.0 | 1.13.0 |
kedaAzure Linux:3 |
through 2.14.1-19 | None known |
telegrafAzure Linux:3 |
before 1.31.0-34 | 1.31.0-34 |
golang-github-rabbitmq-amqp091-goDebian:12 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-11.14.0-11.15.0-1 Show 4 moreShow less1.5.0-21.8.1-11.8.1-21.9.0-1 |
None known |
golang-github-rabbitmq-amqp091-goDebian:13 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-11.14.0-11.15.0-1 |
None known |
golang-github-rabbitmq-amqp091-goDebian:14 |
before 1.14.0-1, plus listed versions 1.10.0-11.11.0-11.12.0-1 |
1.14.0-1 |
opentelemetry-collector-contribRed Hat:hummingbird:1 From an advisory covering 10 CVEs |
before 0:0.161.0-0.1.hum1 | 0:0.161.0-0.1.hum1 |
github.com/rabbitmq/amqp091-goRoot:Go |
before v1.10.0-aikido.6 | v1.10.0-aikido.6v1.10.0-aikido.7v1.12.0-aikido.4v1.12.0-aikido.5v1.12.0-aikido.6v1.11.0-aikido.1 |
rootio-github.com/rabbitmq/amqp091-goRoot:Go |
before v1.10.0-root.io.6 | v1.10.0-root.io.6v1.10.0-root.io.7v1.12.0-root.io.4v1.12.0-root.io.5v1.12.0-root.io.6v1.11.0-root.io.1 |
golang-github-rabbitmq-amqp091-goUbuntu:24.04:LTS |
All versions, plus listed versions 1.8.1-21.9.0-1 |
None known |
golang-github-rabbitmq-amqp091-goUbuntu:26.10 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-1 |
None known |
golang-github-rabbitmq-amqp091-goUbuntu:26.04:LTS |
All versions, plus listed versions 1.10.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-77407 is a high vulnerability (CVSS 7.0) in Rabbitmq Amqp091-go, published September 16, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.13%, the 2nd percentile. Fixed in github.com/rabbitmq/amqp091-go 1.13.0.
References
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-27gv-rfvv-22mv
github.com/rabbitmq/amqp091-go/pull/350
github.com/rabbitmq/amqp091-go/commit/fa013b8447eb60988db3c9281ff6b981e4d2fb4f
github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
nvd.nist.gov/vuln/detail/CVE-2026-77407
github.com/advisories/GHSA-27gv-rfvv-22mv
Show 79 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77407.json
security-tracker.debian.org/tracker/CVE-2026-77407
github.com/rabbitmq/amqp091-go
access.redhat.com/errata/RHSA-2026:68290
images.redhat.com
access.redhat.com/security/cve/CVE-2026-81872
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2026-77404
access.redhat.com/security/cve/CVE-2026-77412
access.redhat.com/security/cve/CVE-2026-77403
access.redhat.com/security/cve/CVE-2026-77410
access.redhat.com/security/cve/CVE-2026-77409
access.redhat.com/security/cve/CVE-2026-77406
access.redhat.com/security/cve/CVE-2026-77407
access.redhat.com/security/cve/CVE-2026-93450
access.redhat.com/security/cve/CVE-2026-63209
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_68290.json
bugzilla.redhat.com/show_bug.cgi?id=2543236
cve.org/CVERecord?id=CVE-2026-63209
nvd.nist.gov/vuln/detail/CVE-2026-63209
github.com/klauspost/compress/commit/539243b8823ee8f03e49969823d57c348c917536
github.com/klauspost/compress/releases/tag/v1.18.7
github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw
bugzilla.redhat.com/show_bug.cgi?id=2535498
cve.org/CVERecord?id=CVE-2026-77403
nvd.nist.gov/vuln/detail/CVE-2026-77403
github.com/rabbitmq/amqp091-go/commit/2e0a919b89f337dbf58db2bb34ab206dac354a06
github.com/rabbitmq/amqp091-go/pull/353
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-xwwf-m8fg-p9q2
bugzilla.redhat.com/show_bug.cgi?id=2535489
cve.org/CVERecord?id=CVE-2026-77404
nvd.nist.gov/vuln/detail/CVE-2026-77404
github.com/rabbitmq/amqp091-go/commit/743d488e46955fe7ffc55506fe2c401d01216783
github.com/rabbitmq/amqp091-go/pull/352
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-465g-fh3v-9jw4
bugzilla.redhat.com/show_bug.cgi?id=2535493
cve.org/CVERecord?id=CVE-2026-77406
nvd.nist.gov/vuln/detail/CVE-2026-77406
github.com/rabbitmq/amqp091-go/commit/3b879e1d1d25b544e26b3bc3d7db3213203c0f3b
github.com/rabbitmq/amqp091-go/pull/351
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-rm6m-hrcw-jw33
bugzilla.redhat.com/show_bug.cgi?id=2535487
cve.org/CVERecord?id=CVE-2026-77407
bugzilla.redhat.com/show_bug.cgi?id=2535494
cve.org/CVERecord?id=CVE-2026-77409
nvd.nist.gov/vuln/detail/CVE-2026-77409
github.com/rabbitmq/amqp091-go/commit/5b0ccbb8d7bc3dfa18129d9b0f9256d656809494
github.com/rabbitmq/amqp091-go/pull/349
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-wxx3-cj7g-w73j
bugzilla.redhat.com/show_bug.cgi?id=2535500
cve.org/CVERecord?id=CVE-2026-77410
nvd.nist.gov/vuln/detail/CVE-2026-77410
github.com/rabbitmq/amqp091-go/commit/91b65fa0096a99a580cf51a31b24028ff1c60382
github.com/rabbitmq/amqp091-go/pull/346
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-r9c8-gcjp-xfwh
bugzilla.redhat.com/show_bug.cgi?id=2535499
cve.org/CVERecord?id=CVE-2026-77412
nvd.nist.gov/vuln/detail/CVE-2026-77412
github.com/rabbitmq/amqp091-go/commit/669b42bf7b1db76bc6d4973e3634247f680accbf
github.com/rabbitmq/amqp091-go/pull/344
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-4v58-74mf-rjx3
bugzilla.redhat.com/show_bug.cgi?id=2535727
cve.org/CVERecord?id=CVE-2026-81872
nvd.nist.gov/vuln/detail/CVE-2026-81872
github.com/open-telemetry/opentelemetry-go/commit/ba71b09e6ed272e93a669aeaec1e98b1df4cc582
github.com/open-telemetry/opentelemetry-go/issues/6797
github.com/open-telemetry/opentelemetry-go/pull/8620
github.com/open-telemetry/opentelemetry-go/releases/tag/sdk/log/v0.21.0
github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-hjf4-fphr-2h65
bugzilla.redhat.com/show_bug.cgi?id=2538979
cve.org/CVERecord?id=CVE-2026-93450
nvd.nist.gov/vuln/detail/CVE-2026-93450
github.com/go-openapi/swag
github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/adapter.go
github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/ordered_map.go
github.com/go-openapi/swag/commit/0c24346ced59a25811e8694a915e7131d25ccb0e
github.com/go-openapi/swag/security/advisories/GHSA-xh24-9qpg-8w28
vulncheck.com/advisories/go-openapi-swag-jsonutils-before-0.27.1-uncontrolled-recursion-in-ordered-json-marshal-and-unmarshal
ubuntu.com/security/CVE-2026-77407