CVE-2026-77404: CWE-116: Improper Encoding or Escaping of Output in rabbitmq amqp091-go
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, URI.String in uri.go concatenates CertFile, KeyFile, CACertFile, and ServerName values directly into an AMQPS query string instead of encoding them as URL query parameters with url.Values. If an application accepts a TLS asset path containing ampersand or equals delimiters and later reparses the serialized URI with ParseURI, the embedded delimiters can create or overwrite connection options, including paths to TLS certificate, key, or CA files. This can corrupt connection configuration or select unintended local cryptographic assets. This issue is fixed in version 1.13.0.
AI Analysis
Technical Summary
RabbitMQ amqp091-go versions before 1.13.0 have an improper encoding vulnerability (CWE-116) in the URI.String method in uri.go. This method concatenates CertFile, KeyFile, CACertFile, and ServerName values directly into the AMQPS URI query string without encoding them as URL query parameters. If an attacker supplies TLS asset paths containing ampersand (&) or equals (=) characters, these delimiters can be interpreted as additional or overwritten query parameters when the URI is reparsed with ParseURI. This can lead to corruption of connection configuration or selection of unintended local TLS certificate, key, or CA files. The vulnerability is addressed by properly encoding these values in version 1.13.0.
Potential Impact
An attacker with the ability to influence TLS asset paths can manipulate the AMQPS URI query string to alter connection options, potentially causing the client to use unintended cryptographic assets or corrupt connection configuration. This can compromise the security of the TLS connection setup, leading to high confidentiality, integrity, and availability impacts on the connection.
Mitigation Recommendations
Upgrade to RabbitMQ amqp091-go version 1.13.0 or later, where this issue is fixed by proper URL encoding of TLS asset paths in the URI.String method. No other mitigations are indicated.
CVE-2026-77404: CWE-116: Improper Encoding or Escaping of Output in rabbitmq amqp091-go
Description
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, URI.String in uri.go concatenates CertFile, KeyFile, CACertFile, and ServerName values directly into an AMQPS query string instead of encoding them as URL query parameters with url.Values. If an application accepts a TLS asset path containing ampersand or equals delimiters and later reparses the serialized URI with ParseURI, the embedded delimiters can create or overwrite connection options, including paths to TLS certificate, key, or CA files. This can corrupt connection configuration or select unintended local cryptographic assets. This issue is fixed in version 1.13.0.
CVSS v4.0
Score 8.7high
Affected software
rabbitmq
amqp091-go
pkg:golang/github.com/rabbitmq/amqp091-goRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
RabbitMQ amqp091-go versions before 1.13.0 have an improper encoding vulnerability (CWE-116) in the URI.String method in uri.go. This method concatenates CertFile, KeyFile, CACertFile, and ServerName values directly into the AMQPS URI query string without encoding them as URL query parameters. If an attacker supplies TLS asset paths containing ampersand (&) or equals (=) characters, these delimiters can be interpreted as additional or overwritten query parameters when the URI is reparsed with ParseURI. This can lead to corruption of connection configuration or selection of unintended local TLS certificate, key, or CA files. The vulnerability is addressed by properly encoding these values in version 1.13.0.
Potential Impact
An attacker with the ability to influence TLS asset paths can manipulate the AMQPS URI query string to alter connection options, potentially causing the client to use unintended cryptographic assets or corrupt connection configuration. This can compromise the security of the TLS connection setup, leading to high confidentiality, integrity, and availability impacts on the connection.
Mitigation Recommendations
Upgrade to RabbitMQ amqp091-go version 1.13.0 or later, where this issue is fixed by proper URL encoding of TLS asset paths in the URI.String method. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T19:55:27.023Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aaaabfd55bf5e2cf5bf8d45
Added to database: 09/16/2026, 14:47:25 UTC
Last enriched: 09/16/2026, 15:02:25 UTC
Last updated: 09/17/2026, 03:25:35 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.