Skip to main content

amqp091-go CVE-2026-77404

| EUVDEUVD-2026-80817 HIGH
Improper Encoding or Escaping of Output (CWE-116)
2026-09-16 GitHub_M GHSA-465g-fh3v-9jw4
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence TLS asset path with '&'/'=' delimiters
  2. Delivery
    URI.String emits raw unencoded query
  3. Exploit
    serialized URI reparsed by ParseURI
  4. Execution
    Injected delimiters create/overwrite cert/CA options
  5. Impact
    Client loads unintended local crypto assets / corrupted config

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

Exploitation requires an application using amqp091-go before 1.13.0 that (1) accepts a TLS asset path value - CertFile, KeyFile, CACertFile, or ServerName - containing '&' or '=' delimiter characters from an untrusted or attacker-influenceable source, and (2) serializes the AMQPS URI via URI.String() and then re-parses the serialized form with ParseURI() (a round-trip). Only under this serialize-then-reparse pattern do the unencoded delimiters split into additional connection options that overwrite cert/key/CA file paths. Limiting factors: operator-supplied static config paths without special characters are unaffected; the attacker can only redirect selection to EXISTING local files (no file write); and the vendor rates the vector AV:L/PR:L, indicating some local or authenticated config-level access is expected rather than anonymous remote exploitation.

Impact

This is a moderate-severity data-handling flaw whose real-world risk is well below its headline 8.7 CVSS 4.0 score. The vendor 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) appears OVER-SCORED: it assigns High confidentiality, integrity, and availability to both the vulnerable AND subsequent systems, but the actual described impact is corruption of AMQP connection configuration and selection of unintended EXISTING local cryptographic files - the attacker cannot write files, only redirect option parsing among assets already present. The realistic primary impact is integrity of connection config, with confidentiality only as an indirect second-order effect (a wrong CA could weaken TLS and enable MITM, which itself requires a separate network-positioned attacker). The AT:P (attack requirement present) correctly signals that exploitation is conditional, not turnkey: the application must both accept an untrusted TLS-asset path containing '&'/'=' delimiters AND perform a serialize (URI.String) then reparse (ParseURI) round-trip - a non-default usage pattern. No EPSS score, no CISA KEV entry, and no public exploit are present; the diff's added test is a regression test, not a weaponized POC. Note a signal tension: the CVSS declares AV:L (local) yet the practical danger only materializes when TLS paths originate from an untrusted/network-facing source, which would argue for AV:N - the local designation likely reflects the operator/config data flow and should be verified against how a given application sources these paths. Overall: a legitimate hardening fix worth patching, but not an urgent internet-facing emergency.

Exploit ScenarioDerived

An application built on amqp091-go accepts a TLS certificate/key/CA path from a semi-trusted source (e.g., tenant config or an API field), serializes the resulting AMQPS URI with URI.String() for storage/logging, and later feeds it back through ParseURI(). An attacker embeds '&cacertfile=/path/to/weaker-ca.pem' inside a supplied path value; because URI.String does not URL-encode the value, the injected delimiter is parsed as a separate connection option, silently overwriting the CA file the client trusts. No public exploit code exists; exploitation requires local/config-level influence over the path value.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Improper output encoding in the RabbitMQ amqp091-go Go client before 1.13.0 lets an attacker who can influence a TLS asset path value (CertFile, KeyFile, CACertFile, or ServerName) inject or overwrite AMQPS connection options whenever an application serializes a URI with URI.String() and later reparses it with ParseURI(). Because the values are concatenated into the query string without url.Values encoding, embedded '&' and '=' delimiters split into extra parameters that can redirect the client to different - but still pre-existing - local certificate, key, or CA files, corrupting connection configuration. There is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis; the vendor fix is version 1.13.0, and the practical risk is well below the headline 8.7 CVSS 4.0 score because exploitation needs a specific serialize-then-reparse code path plus attacker-influenceable path data.

RemediationAI

Vendor-released patch: upgrade github.com/rabbitmq/amqp091-go to 1.13.0 or later, which switches URI.String() to url.Values encoding and adds a round-trip regression test; rebuild and redeploy any Go binary that links the library, since this is a library fix baked into the application rather than a broker-side change. Until the dependency is updated, the most effective compensating control is to validate and reject any CertFile, KeyFile, CACertFile, or ServerName value that contains '&', '=', '?', '#', or other reserved URI characters, or to percent-decode and canonicalize those values before they reach the URI struct - the trade-off is that legitimate paths containing such characters would be refused, and validation must be applied at every input source to be reliable. Second, avoid feeding untrusted path values through a URI.String() then ParseURI() round-trip at all: pass the URI struct directly to DialConfig or construct the tls.Config yourself, which eliminates the delimiter-splitting window entirely but requires code changes in the consuming application. Third, restrict who can supply these TLS asset path values (they typically arrive via configuration or authenticated operator input, consistent with the AV:L/PR:L vector), and audit logs for anomalous certfile/keyfile/cacertfile parameters in serialized connection strings. Note that the flaw only redirects selection among files already present on the host - it does not write files - so filesystem permissions limiting readable key and certificate material remain a useful secondary control.

Affected VersionsENISA

amqp091-go < 1.13.0

Affected Packages

go github.com/rabbitmq/amqp091-go fix: 1.13.0
euvd amqp091_go fix: 1.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the URI type in uri.go of amqp091-go, the Go implementation of the AMQP 0.9.1 client protocol used to talk to RabbitMQ brokers. Under the CWE-116 (Improper Encoding or Escaping of Output) root-cause class, the pre-1.13.0 code builds the AMQPS query string with a strings.Builder, writing literals such as 'certfile=', 'keyfile=', 'cacertfile=', and 'server_name_indication=' followed by unescaped user-controlled values and '&' separators. Correct handling requires url.Values.Set plus Encode(), which percent-encodes reserved characters so that a path such as '/tmp/cert=foo&keyfile=/evil' cannot masquerade as a second query parameter. The AMQPS URI scheme (typically port 5671) carries TLS material as query parameters, so a delimiter-injection flaw effectively grants limited control over which local certificate, private key, or CA bundle the client loads and which SNI name it presents. The upstream fix (PR 352, commit 743d488e46955fe7ffc55506fe2c401d01216783) replaces the manual builder with url.Values and adds a round-trip regression test confirming that special characters in CertFile are encoded and that ParseURI(String()) preserves the original value.

Know when Rabbitmq gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 6.6 MEDIUM

Config data-flow needing an untrusted path plus a non-default serialize/reparse round-trip supports AV:L/PR:L; impact is chiefly integrity of connection config (I:H) with only indirect confidentiality/availability (C:L/A:L).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Red Hat 8.8 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 16:04 EUVD
CVE Published
Sep 16, 2026 - 14:40 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

CWE-116 (Improper Encoding or Escaping of Output).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The RabbitMQ amqp091-go client library, used by Go applications for secure AMQP connections, contains a high-severity improper output encoding vulnerability (CVE-2026-77404) that could allow an attacker with influence over TLS certificate path values to corrupt connection configurations, potentially redirecting the client to unintended local files. Though no public exploit has been identified at time of analysis, organizations using affected versions prior to 1.13.0 in their messaging infrastructure risk service disruptions or misconfigurations. Leadership should prioritize upgrading to version 1.13.0 to mitigate this risk.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
official Go RabbitMQ client library, common in Go microservice backends
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-57219 HIGH POC
8.7 Jul 10

Sensitive credential disclosure in RabbitMQ affects installations running the management plugin with OAuth 2 configured

CVE-2019-11287 HIGH POC
7.5 Nov 23

Pivotal RabbitMQ, versions 3.7.x prior to 3.7.21 and 3.8.x prior to 3.8.1, and RabbitMQ for Pivotal Platform, 1.16.x ver

CVE-2026-63335 MEDIUM POC
6.3 Aug 18

Denial of service in the RabbitMQ Java client library (com.rabbitmq:amqp-client ≤ 5.30.0) allows a malicious or compromi

CVE-2016-9877 CRITICAL
9.8 Dec 29

An issue was discovered in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6 and RabbitMQ for PCF 1.5.x before 1.

CVE-2026-77411 CRITICAL
9.5 Sep 16

Parsing desynchronization in the RabbitMQ amqp091-go AMQP 0.9.1 client library before 1.13.0 lets a malicious or comprom

CVE-2026-77405 CRITICAL
9.4 Sep 16

RabbitMQ's amqp091-go Go client library, in all versions before 1.13.0, builds TLS configuration from amqps:// URIs with

CVE-2021-32718 MEDIUM POC
5.4 Jun 28

RabbitMQ is a multi-protocol messaging broker. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploita

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-77408 CRITICAL
9.1 Sep 16

Silent AMQP 0.9.1 metadata corruption in the RabbitMQ amqp091-go Go client library prior to 1.13.0 lets an application t

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

CVE-2026-63336 MEDIUM POC
5.1 Aug 18

TLS certificate validation is completely bypassed in the RabbitMQ Java client library (`com.rabbitmq:amqp-client`) prior

CVE-2026-77412 HIGH
8.9 Sep 16

Denial of service in the official RabbitMQ Go client library amqp091-go (versions prior to 1.13.0): a malicious, comprom

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
openSUSE Leap 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy