CVE-2026-77404: RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection
A query parameter injection vulnerability exists in the AMQP client’s connection URI formatting logic. When generating or parsing connection URIs, TLS-related filesystem paths (such as certificates or keys) are appended directly to the URI’s query string using string concatenation rather than secure URL encoding via functions like url.QueryEscape.
If an application handles a TLS file path containing special character delimiters (such as & or =), these characters are interpreted as parameter separators by the URI parser. If the resulting URI.String() output is subsequently re-parsed via ParseURI, the injected fields can silently overwrite or hijack critical configuration parameters, forcing the client to use arbitrary connection settings or alternate TLS files.
References
- github.com/advisories/GHSA-465g-fh3v-9jw4
- github.com/rabbitmq/amqp091-go/commit/743d488e46955fe7ffc55506fe2c401d01216783
- github.com/rabbitmq/amqp091-go/pull/352
- github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
- github.com/rabbitmq/amqp091-go/security/advisories/GHSA-465g-fh3v-9jw4
- nvd.nist.gov/vuln/detail/CVE-2026-77404
Code Behaviors & Features
Detect and mitigate CVE-2026-77404 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 →