{"vuid":"VU#761751","idnumber":"761751","name":"Fluent Bit contains five vulnerabilities, including stack buffer overflow, auth bypass, and path traversal","keywords":null,"overview":"### Overview\r\nFluent Bit is a logging and metrics processor and forwarder that is used in a variety of cloud and container networking environments. Several vulnerabilities in Fluent Bit have been discovered that could allow for authentication bypass, remote code execution (RCE) and denial of service (DoS) largely enabled by various Fluent Bit plugins and by how Fluent Bit processes tags. Many of these vulnerabilities require an attacker to have network access to a Fluent Bit instance. Fluent Bit has released version 4.2.0 to remediate the vulnerabilities.\r\n\r\n### Description\r\n\r\nFluent Bit is a logging and metrics processor and forwarder, intended for usage in various cloud and container environments. It is commonly used to forward traffic to a Security Information and Event Management (SIEM) service, such as Splunk, for further analysis. Fluent Bit uses a tagging system to process and manage traffic that it moves. Multiple vulnerabilities have been discovered within Fluent Bit, largely facilitated by various plugins that manipulate or support tags. \r\n\r\nEach individual vulnerability is listed below:\r\n\r\n**CVE-2025-12972**\r\nThe 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.\r\n\r\n**CVE-2025-12970**\r\nThe `extract_name()` function in the Fluent Bit *in_docker* input plugin copies container names into a fixed size stack buffer without validating length. An attacker who can create containers or control container names, can supply a long name that overflows the buffer, leading to process crash or arbitrary code execution.\r\n\r\n**CVE-2025-12969**\r\nThe Fluent Bit *in_forward* input plugin does not properly enforce the `security.users` authentication mechanism under certain configuration conditions. This allows remote attackers with network access to the Fluent Bit instance exposing the forward input to send unauthenticated data. By bypassing authentication controls, attackers can inject forged log records, flood alerting systems, or manipulate routing decisions, compromising the authenticity and integrity of ingested logs.\r\n\r\n**CVE-2025-12977**\r\nThe 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, thus impacting data integrity and log routing.\r\n\r\n**CVE-2025-12978**\r\nFluent Bit *in_http*, *in_splunk*, and *in_elasticsearch* input plugins contain a flaw in the tag_key validation logic that fails to enforce exact key-length matching. This allows crafted inputs where a tag prefix is incorrectly treated as a full match. A remote attacker with authenticated or exposed access to these input endpoints can exploit this behavior to manipulate tags and redirect records to unintended destinations. This compromises the authenticity of ingested logs and can allow injection of forged data, alert flooding and routing manipulation.\r\n\r\n### Impact\r\nThe vulnerabilities could be used for authentication bypass, RCE, DoS, and tag manipulation leading to improper function of Fluent Bit.\r\n\r\n### Solution\r\nThe vulnerabilities are all fixed in Fluent Bit version 4.2.0. Users should download and install the latest version of Fluent Bit as soon as possible. The latest version of Fluent Bit is available at https://fluentbit.io/announcements/\r\n\r\n### Acknowledgements\r\nThanks to the reporter, Uri Katz of Oligo Security. This document was written by Christopher Cullen.","clean_desc":null,"impact":null,"resolution":null,"workarounds":null,"sysaffected":null,"thanks":null,"author":null,"public":["https://fluentbit.io/blog/2025/10/28/security-vulnerabilities-addressed-in-fluent-bit-v4.1-and-backported-to-v4.0/","https://www.oligo.security/blog/critical-vulnerabilities-in-fluent-bit-expose-cloud-environments-to-remote-takeover"],"cveids":["CVE-2025-12970","CVE-2025-12969","CVE-2025-12977","CVE-2025-12972","CVE-2025-12978"],"certadvisory":null,"uscerttechnicalalert":null,"datecreated":"2025-11-24T14:39:40.432436Z","publicdate":"2025-11-18T00:00:00Z","datefirstpublished":"2025-11-24T14:39:40.445259Z","dateupdated":"2026-01-05T16:55:15.146027Z","revision":5,"vrda_d1_directreport":null,"vrda_d1_population":null,"vrda_d1_impact":null,"cam_widelyknown":null,"cam_exploitation":null,"cam_internetinfrastructure":null,"cam_population":null,"cam_impact":null,"cam_easeofexploitation":null,"cam_attackeraccessrequired":null,"cam_scorecurrent":null,"cam_scorecurrentwidelyknown":null,"cam_scorecurrentwidelyknownexploited":null,"ipprotocol":null,"cvss_accessvector":null,"cvss_accesscomplexity":null,"cvss_authentication":null,"cvss_confidentialityimpact":null,"cvss_integrityimpact":null,"cvss_availabilityimpact":null,"cvss_exploitablity":null,"cvss_remediationlevel":null,"cvss_reportconfidence":null,"cvss_collateraldamagepotential":null,"cvss_targetdistribution":null,"cvss_securityrequirementscr":null,"cvss_securityrequirementsir":null,"cvss_securityrequirementsar":null,"cvss_basescore":null,"cvss_basevector":null,"cvss_temporalscore":null,"cvss_environmentalscore":null,"cvss_environmentalvector":null,"metric":null,"vulnote":153}