CVE-2026-67224

RabbitMQ: Admin path-traversal write via trace name

Published Sep 23, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom rabbitmq Server
CPEs cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom rabbitmq Server
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 3:20 PM
Reserved
Jul 28, 2026, 7:50 PM
Status
Analyzed
Published
Sep 23, 2026, 9:17 PM
Modified
Oct 19, 2026, 8:38 PM
Severity
Moderate
Public date
Sep 23, 2026, 8:05 PM