CVE-2025-12972: Fluent Bit out_file plugin does not properly sanitize tag values when deriving output file names
CVE-2025-12972 is a medium-severity flaw (CVSS 5.3) affecting fluent bit. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Fluent Bit out_file plugin does not properly sanitize tag values when deriving output file names. When the File option is omitted, the plugin uses untrusted tag input to construct file paths. This allows attackers with network access to craft tags containing path traversal sequences that cause Fluent Bit to write files outside the intended output directory.
Why this priority
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 39%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2025-11-24 |
| Last modified | 2026-10-08 |
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-12972?
fluent bit: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-12972 being exploited?
CVE-2025-12972 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-12972 affect?
CVE-2025-12972 affects fluent bit. Severity is medium (CVSS 5.3). Fluent Bit out_file plugin does not properly sanitize tag values when deriving output file names. When the File option is omitted, the plugin uses untrusted tag input to construct file paths. This allows attackers with network access to cra
How urgent is CVE-2025-12972?
Priority 39/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-12970 HIGH 8.8 DOWNGRADE The extract_name function in Fluent Bit in_docker input plugin copies container names into a fixed size stack
- CVE-2025-12977 CRITICAL 9.1 DOWNGRADE Fluent Bit in_http, in_splunk, and in_elasticsearch input plugins fail to sanitize tag_key inputs
- CVE-2025-12969 MEDIUM 6.5 DOWNGRADE Fluent Bit in_forward input plugin does not properly enforce the security.users authentication mechanism under
- CVE-2025-12978 MEDIUM 5.4 DOWNGRADE Fluent Bit in_http, in_splunk, and in_elasticsearch input plugins contain a flaw in the tag_key validation log
- CVE-2025-29478 MEDIUM 5.5 MITIGATE An issue in fluent-bit v.3.7.2 allows a local attacker to cause a denial of service via the cfl_list_size in c