CVE-2025-12978
Fluent Bit vulnerability analysis and mitigation

Overview

CVE-2025-12978 is a partial string comparison flaw (CWE-187) in Fluent Bit's in_http, in_splunk, and in_elasticsearch input plugins that allows authenticated or network-exposed attackers to manipulate log routing by exploiting incorrect tag prefix matching. The vulnerability was published on November 24, 2025, and affects Fluent Bit version 4.1.0. It carries a CVSS v3.1 base score of 5.4 (Medium), requiring low privileges and no user interaction (Red Hat CVE, CERT/CC).

Technical details

The root cause is a flaw in the tag_key validation logic within the affected input plugins that fails to enforce exact key-length matching (CWE-187: Partial String Comparison). When a crafted input is submitted, a tag prefix is incorrectly accepted as a full match, allowing the attacker to supply a tag value that begins with a legitimate key but contains additional characters. This bypasses routing controls and causes records to be redirected to unintended pipeline destinations. The vulnerability is network-accessible and requires only low-level authenticated access to the exposed HTTP, Splunk, or Elasticsearch input endpoints (Oligo Security, CERT/CC).

Impact

Successful exploitation compromises the integrity and availability of the log ingestion pipeline: attackers can inject forged log records, flood alerting systems with fabricated events, and redirect telemetry to unintended destinations. While confidentiality is not directly impacted (CVSS C:N), the ability to manipulate log routing in cloud-native environments — where Fluent Bit is widely deployed as a core observability component — can undermine security monitoring, mask malicious activity, and facilitate stealthy infrastructure intrusions. The availability impact includes alert flooding that can overwhelm downstream systems (Oligo Security, The Hacker News).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-12978 as of the available data. The EPSS score is approximately 0.114%, indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection coverage exists via Qualys (detection ID 733467) (Red Hat CVE, Qualys).

Exploitation steps

  1. Reconnaissance: Identify Fluent Bit 4.1.0 instances with in_http, in_splunk, or in_elasticsearch input plugins exposed on the network, using service discovery tools (e.g., Shodan, Censys) or internal network scanning.
  2. Authenticate or access exposed endpoint: Obtain low-privilege credentials or identify unauthenticated/exposed input endpoints (e.g., the HTTP input plugin listening on a configured port).
  3. Craft malicious tag payload: Construct an HTTP request to the input endpoint that includes a tag_key value which is a prefix of a legitimate tag followed by additional characters (e.g., if the valid tag is app.logs, submit app.logs.forged), exploiting the partial string comparison flaw.
  4. Submit crafted request: Send the crafted request to the Fluent Bit input endpoint. The flawed validation logic accepts the prefix as a full match, assigning the manipulated tag to the ingested record.
  5. Achieve routing manipulation: The forged tag causes the record to be routed to an unintended pipeline destination, enabling injection of fabricated log data, alert flooding, or suppression of legitimate log records (Oligo Security, CERT/CC).

Indicators of compromise

  • Network: Unexpected or anomalous HTTP POST requests to Fluent Bit input plugin ports (default: 9880 for in_http, 8088 for in_splunk, 9200 for in_elasticsearch) containing tag values that are prefixes of legitimate tags with appended characters.
  • Logs: Fluent Bit logs showing records routed to unexpected output destinations; sudden spikes in log volume or alert events from specific input endpoints; tag values in ingested records that do not match configured exact tag patterns.
  • Process/Behavior: Unusual increase in downstream alert volume or pipeline throughput inconsistent with normal application activity; records appearing in output destinations not associated with the originating source.

Mitigation and workarounds

The vulnerability was addressed in Fluent Bit v4.1.0 release notes, which include the fix for the tag_key validation logic. Users should upgrade to the patched version of Fluent Bit as soon as possible. As a workaround, restrict network access to Fluent Bit input plugin endpoints (HTTP, Splunk, Elasticsearch) using firewall rules or network policies to limit exposure to trusted sources only, and enforce strong authentication on all input endpoints (Fluent Bit Announcements, CERT/CC).

Community reactions

The disclosure generated notable coverage across security media, with outlets including The Hacker News, The Register, CSO Online, and TechRadar reporting on the broader set of Fluent Bit vulnerabilities disclosed simultaneously. The Belgian Centre for Cybersecurity (CCB) issued an advisory warning of cloud infrastructure risk from the Fluent Bit RCE vulnerabilities and urging patching. Oligo Security, the research firm credited with discovering the flaws, published a detailed technical blog post. Community reaction highlighted the widespread deployment of Fluent Bit across major cloud providers as a key risk amplifier (The Hacker News, The Register, CCB Belgium, Oligo Security).

Additional resources


SourceThis report was generated using AI

Related Fluent Bit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-63657HIGH7.5
  • Fluent Bit logoFluent Bit
  • monkey
NoYesJan 29, 2026
CVE-2025-63652HIGH7.5
  • Fluent Bit logoFluent Bit
  • fluent-bit
NoYesJan 29, 2026
CVE-2026-58055MEDIUM6.3
  • npm logonpm
  • nodejs:24::nodejs-nodemon
NoYesJun 28, 2026
CVE-2025-62408MEDIUM5.9
  • npm logonpm
  • v8-12.4-devel
NoYesDec 08, 2025
CVE-2025-12978MEDIUM5.4
  • Fluent Bit logoFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management