Description
RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.1, The trace consumer constructs the output path as filename:join(TraceDir, Name ++ ".log") where Name comes from PUT /api/traces/:vhost/:name. No safe_relative_path / traversal check is applied on the write side, while the read side (rabbit_tracing_files.erl) does call rabbit_misc:safe_relative_path/1 , proving the omission is an oversight, not design. The .log suffix is forced and the endpoint requires administrator. A user with the administrator tag can write a .log-suffixed file to an arbitrary filesystem path writable by the rabbitmq user via the tracing plugin's name parameter, e.g. /etc/cron.d/x.log (if writable) or overwrite existing .log files outside the trace directory. Preconditions include rabbitmq_tracing plugin enabled administrator tag Target path writable by rabbitmq OS user. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.1.
Published: 2026-09-23
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: Local file write via administrator path traversal
Action: Patch
AI Analysis

Impact

The vulnerability is a path‑traversal flaw in the trace consumer of RabbitMQ. When an administrator submits a trace name through the /api/traces/:vhost/:name endpoint, the server concatenates the supplied name with a .log suffix and writes the file under the trace directory without validating the path. This omission means an attacker with the administrator tag can create or overwrite arbitrary .log files at any location writable by the rabbitmq OS user, such as /etc/cron.d or other critical directories. Successful exploitation could lead to privilege escalation, configuration tampering or denial‑of‑service by corrupting logs or executables.

Affected Systems

Affected versions are all releases before 3.13.15, 4.0.20, 4.1.11, 4.2.6 and 4.3.1 of RabbitMQ Server. Systems running RabbitMQ Server 3.x or 4.x earlier than these patch levels are vulnerable. The vulnerability is specific to the rabbitmq_tracing plugin when enabled.

Risk and Exploitability

The CVSS score is 2.1, indicating low severity, and the EPSS score is unavailable. The vulnerability is not listed in the CISA KEV catalogue. Exploitability requires that the target has the administrator tag and that the rabbitmq OS user has write permission to the destination directory; therefore the attack vector is local privileged. While the CVSS hints at low risk, the ability to write arbitrary files may be catastrophic in a misconfigured environment, especially if rabbitmq runs as root or has elevated privileges.

Generated by OpenCVE AI on September 23, 2026 at 21:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to RabbitMQ Server versions 3.13.15 or newer, 4.0.20 or newer, 4.1.11 or newer, 4.2.6 or newer, or 4.3.1 or newer.
  • If the tracing plugin is not required, disable or remove rabbitmq_tracing.
  • Limit the file system permissions so that the rabbitmq OS user cannot write to sensitive directories such as /etc/cron.d or other critical system paths.

Generated by OpenCVE AI on September 23, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 23 Sep 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. Prior to versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.1, The trace consumer constructs the output path as filename:join(TraceDir, Name ++ ".log") where Name comes from PUT /api/traces/:vhost/:name. No safe_relative_path / traversal check is applied on the write side, while the read side (rabbit_tracing_files.erl) does call rabbit_misc:safe_relative_path/1 , proving the omission is an oversight, not design. The .log suffix is forced and the endpoint requires administrator. A user with the administrator tag can write a .log-suffixed file to an arbitrary filesystem path writable by the rabbitmq user via the tracing plugin's name parameter, e.g. /etc/cron.d/x.log (if writable) or overwrite existing .log files outside the trace directory. Preconditions include rabbitmq_tracing plugin enabled administrator tag Target path writable by rabbitmq OS user. This issue is fixed in versions 3.13.15, 4.0.20, 4.1.11, 4.2.6, and 4.3.1.
Title RabbitMQ: Admin path-traversal write via trace name
Weaknesses CWE-22
References
Metrics cvssV4_0

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


Subscriptions

Rabbitmq Rabbitmq-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T20:05:04.923Z

Reserved: 2026-07-28T19:50:39.437Z

Link: CVE-2026-67224

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T21:17:00.510

Modified: 2026-09-23T21:17:00.510

Link: CVE-2026-67224

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T22:00:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')