9.8critical
Fluentd: Remote Code Execution (RCE) via Arbitrary File Write in `${tag}` Placeholder
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.09% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-44hj-4m45-frj3BIT-FLUENTD-2026-44024
Description
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Prior to 1.19.3, Fluentd allows dynamically constructing file paths using the ${tag} placeholder, and insufficient validation of ${tag} in file configurations such as the path parameter of the out_file plugin allows attackers sending untrusted tags containing path traversal characters to write or overwrite arbitrary files and potentially achieve remote code execution. This issue is fixed in version 1.19.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fluent fluentd | < 1.19.3 | CVE List |
| fluentd (RubyGems) | before 1.19.3 | GitHub Advisory Database |
| fluentd fluentd | before 1.19.3 | NVD |
| fluentd (Bitnami) | before 1.19.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Prior to 1.19.3, Fluentd allows dynamically constructing file paths using the ${tag} placeholder, and insufficient validation of ${tag} in file configurations such as the path parameter of the out_file plugin allows attackers sending untrusted tags containing path traversal characters to write or overwrite arbitrary files and potentially achieve remote code execution. This issue is fixed in version 1.19.3.
GitHub Advisory Database
Fluentd allows dynamically constructing file paths using the ${tag} placeholder.
It was discovered that validation for this placeholder was insufficient.
If a Fluentd instance is configured to receive logs from untrusted sources and uses the ${tag} placeholder in file configurations (such as the path parameter in the out_file plugin), an attacker can inject path traversal characters (e.g., ../).
When combined with certain formatting options, this vulnerability allows an attacker to write arbitrary files or overwrite existing files on the system with attacker-controlled content, bypassing intended directory restrictions.
Impact
This vulnerability allows for Arbitrary File Write, which can be directly escalated to full Remote Code Execution (RCE). An attacker could achieve RCE by overwriting critical system files, injecting executable plugins, or modifying configuration files. The impact is Critical as it can lead to full system compromise without any authentication, depending on the Fluentd configuration and the privileges of the Fluentd process.
Patches
v1.19.3
Workarounds
If an immediate upgrade is not possible, users are strongly advised to apply the following mitigations:
- Restrict Network Access
- Ensure that Fluentd input ports (such as
in_forwardon default port24224) are deployed within a closed, trusted network. Use firewall rules (e.g., iptables, AWS Security Groups) to block access from untrusted networks or instances.
- Ensure that Fluentd input ports (such as
- Run Fluentd as a non-root user
- Dropping privileges prevents Fluentd from writing to sensitive system directories (e.g.,
/etc/), significantly mitigating the risk of system-wide RCE.
- Dropping privileges prevents Fluentd from writing to sensitive system directories (e.g.,
- Revise configurations
- Do not use the
${tag}placeholder in thepathparameter of output plugins (likeout_file) if the tag originates from an untrusted source.
- Do not use the
- Filter incoming tags
- Strictly validate and filter incoming tags at the input layer (e.g., using
fluent-plugin-rewrite-tag-filter) to drop any tags containing.or/characters.
- Strictly validate and filter incoming tags at the input layer (e.g., using
NVD (es)
Fluentd recopila eventos de varias fuentes de datos y los escribe en archivos, RDBMS, NoSQL, IaaS, SaaS, Hadoop, etc. Antes de la versión 1.19.3, Fluentd permite la construcción dinámica de rutas de archivo utilizando el marcador de posición ${tag}, y la validación insuficiente de ${tag} en configuraciones de archivo, como el parámetro path del plugin out_file, permite a los atacantes que envían etiquetas no confiables que contienen caracteres de salto de ruta escribir o sobrescribir archivos arbitrarios y potencialmente lograr la ejecución remota de código. Este problema está solucionado en la versión 1.19.3.
References
| https://github.com/fluent/fluentd/security/advisories/GHSA-44hj-4m45-frj3 | advisory, mitigation, vendor-advisory, web | |
| https://github.com/fluent/fluentd/pull/5391 | fix, issue-tracking, patch | |
| https://github.com/fluent/fluentd/commit/45c87a81f3ac0b72b3f9dcfe8cfb5f9038f81437 | fix, patch | |
| https://github.com/fluent/fluentd/releases/tag/v1.19.3 | article, product, release-notes, web | |
| https://github.com/fluent/fluentd | package | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-44024 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44024 changed 2026-07-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-44hj-4m45-frj3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-44024 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-FLUENTD-2026-44024 changed 2026-09-08 | Apache-2.0 |