CVE-2025-12977
CWE-1287Published: November 24, 2025· Updated: Jun 17, 2026
Official Description
Fluent Bit in_http, in_splunk, and in_elasticsearch input plugins fail to sanitize tag_key inputs. An attacker with network access or the ability to write records into Splunk or Elasticsearch can supply tag_key values containing special characters such as newlines or ../ that are treated as valid tags. Because tags influence routing and some outputs derive filenames or contents from tags, this can allow newline injection, path traversal, forged record injection, or log misrouting, impacting data integrity and log routing.
Risk Analysis
This critical vulnerability in Fluent Bit's in_http, in_splunk, and in_elasticsearch input plugins allows for improper sanitization of tag_key inputs. An attacker can inject special characters, leading to newline injection, path traversal, forged record injection, or log misrouting. With a CVSS score of 9.1, this flaw poses a high risk to data integrity and log routing systems.
No public exploit is currently known for this vulnerability. However, it is remotely exploitable over the network with low attack complexity, requiring only network access or the ability to write records into Splunk or Elasticsearch.
Users of Treasure Data Fluent Bit version 4.1.0 should apply vendor patches to address the input sanitization issue. Implement robust input validation for tag_key values in all affected input plugins to prevent the injection of special characters.
Technical Analysis
CVE-2025-12977 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
All References (2)
Quick Facts
Related CVEs (CWE-1287)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2025-12977 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts