CVE-2026-77404

RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection

Published Sep 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in the Go AMQP 0.9.1 client allows an attacker to inject characters such as ampersand or equals into a TLS asset path. When the library serializes the URI, it concatenates the CertFile, KeyFile, CACertFile, and ServerName values directly into the query string without URL encoding. If the application later reparses that serialized URI, the injected delimiters break the query string into additional key/value pairs, creating or overwriting connection options. This can corrupt the intended TLS configuration or redirect the client to use unintended local certificate and key files. The impact is that the application might communicate over TLS with an attacker‑controlled or improperly authenticating endpoint, potentially exposing sensitive traffic or facilitating a man‑in‑the‑middle attack. The vulnerability is a CWE-116 (Improper Encoding or Escaping of Characters).

Affected Systems

The issue affects the RabbitMQ amqp091-go client library, specifically all releases prior to version 1.13.0. The library is used by applications that construct a connection URI containing TLS parameters such as CertFile, KeyFile, CACertFile, and ServerName. No specific operating system or platform limitations are listed; the flaw exists wherever the library is linked and used to build or re‑parse connection URIs.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. The EPSS score is reported as < 1 % so the likelihood of widespread exploitation is currently low, and it is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply a crafted TLS path string that includes special characters and to have that string incorporated into a serialized URI that the application will later parse again. This attack vector is inferred from the description; the CVE does not state an exposed interface, but the vulnerability can be triggered if the application accepts user‑supplied TLS parameters and does not sanitize them before usage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ amqp091-go to version 1.13.0 or later
  • Ensure that any TLS asset path values (CertFile, KeyFile, CACertFile, ServerName) are URL-encoded before being added to the connection URI
  • Avoid re-parsing the serialized URI within the application; if necessary, remove or replace URI.String usage with a safer construction method

Generated by OpenCVE AI on September 18, 2026 at 02:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-465g-fh3v-9jw4 RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection
History
Type Values Removed Values Added
Weaknesses CWE-140
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq amqp091-go
Vendors & Products Rabbitmq
Rabbitmq amqp091-go
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection
Weaknesses CWE-116
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-140

    Improper Neutralization of Delimiters

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 16, 2026, 3:21 PM
Reserved
Aug 20, 2026, 7:55 PM
Status
Awaiting Analysis
Published
Sep 16, 2026, 3:17 PM
Modified
Sep 23, 2026, 6:19 PM
Severity
Important
Public date
Sep 16, 2026, 2:40 PM