Skip to main content

Fluent Bit CVE-2026-61674

| EUVDEUVD-2026-83985 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-09-21 GitHub_M
9.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control or impersonate Secure Forward destination
  2. Delivery
    Fluent Bit initiates handshake to malicious server
  3. Exploit
    Server sends oversized PONG reason field
  4. Execution
    Overflow 32-byte stack buffer in secure_forward_pong
  5. Persist
    Overwrite return address/control data
  6. Impact
    Execute code as Fluent Bit process user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Fluent Bit instance using the out_forward output plugin in Secure Forward mode with Shared_Key or Empty_Shared_Key configured - this is not the default output path. The attacker must control the configured upstream forward destination or be able to impersonate/MITM that TCP connection so it can respond to the handshake. Reliable remote code execution additionally requires a build compiled without a stack canary, or a separate memory-disclosure primitive; builds with a stack canary reliably terminate (denial of service only). The opt-in --supervisor mode with fork-only respawns further weakens hardened builds by preserving the canary and address layout across restarts, enabling repeated crash-or-survive probing. Limiting factors: non-default Secure Forward configuration, required adversarial network position as the forward peer, and target build hardening.

Impact

The CVSS 4.0 base score of 9.2 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) reflects a network-reachable, unauthenticated stack buffer overflow with full CIA impact, but several signals temper the real-world urgency. The AT:P (Attack Requirements: Present) metric is the key qualifier the raw '9.2' obscures: exploitation is not fire-and-forget against any Fluent Bit instance - the attacker must occupy the position of the out_forward Secure Forward destination (control it or impersonate/MITM it) AND the target must be configured with Shared_Key or Empty_Shared_Key. No EPSS score, CISA KEV entry, or public exploit code is present in the provided intelligence, so this is 'no public exploit identified at time of analysis' rather than an actively exploited threat. Critically, the description itself scopes the impact: 'protected builds reliably terminate' (a canary turns RCE into a denial-of-service crash), and reliable RCE requires either a build compiled without a stack canary or a companion memory-disclosure primitive; the --supervisor fork-only mode is a secondary enabler that lets an attacker repeatedly probe a hardened build because respawns preserve the canary and ASLR layout. Net: a genuinely serious memory-corruption bug in very widely deployed software, but real-world exploitability is gated by a non-default output configuration, an adversarial network position, and target build hardening - making it a high-priority patch for anyone running out_forward with Secure Forward, and lower urgency for the majority of deployments that do not.

Exploit ScenarioDerived

An attacker who controls or can impersonate (via MITM or DNS/routing hijack) the upstream server that a Fluent Bit out_forward plugin connects to in Secure Forward mode responds during the initial handshake with a PONG message whose reason field (PONG[2]) is an oversized MessagePack string. secure_forward_pong memcpy's it into a 32-byte stack buffer without type or length validation, overwriting stack control data. On a build without a stack canary (or paired with an info-leak), this yields remote code execution as the Fluent Bit process user; on hardened builds it reliably crashes the process. No public exploit code was identified in the provided intelligence.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Stack-based buffer overflow in Fluent Bit's out_forward Secure Forward plugin (versions 0.11.0 through releases prior to 5.0.8) lets an attacker who controls or can impersonate the configured forwarding destination overwrite stack memory while Fluent Bit processes the handshake PONG response. The vulnerable path is only reachable when the out_forward output plugin is configured in Secure Forward mode with Shared_Key or Empty_Shared_Key - not the default output configuration - and the CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) plus the independent CVSS 3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) both characterize it as an unauthenticated network attack that depends on specific deployment preconditions. Impact ranges from reliable process termination on builds compiled with a stack canary to full remote code execution as the Fluent Bit process user on builds lacking canary protection or where a memory-disclosure primitive exists; the opt-in --supervisor mode with fork-only respawns further weakens hardened builds by preserving canary and address layout across restarts. No public exploit code has been identified at time of analysis, and the issue is fixed in version 5.0.8.

RemediationAI

Vendor-released patch: upgrade to Fluent Bit 5.0.8 or later (release notes and binaries at https://github.com/fluent/fluent-bit/releases/tag/v5.0.8), which corresponds to the upstream fix in PR https://github.com/fluent/fluent-bit/pull/11945 (commit https://github.com/fluent/fluent-bit/commit/45486556be9d023e194665e243f156b228e195e0); see GHSA-jrp8-r9hx-gf73 (https://github.com/fluent/fluent-bit/security/advisories/GHSA-jrp8-r9hx-gf73) for the vendor advisory. If immediate upgrade is not possible, the highest-value compensating control is to stop using the out_forward plugin in Secure Forward mode with Shared_Key or Empty_Shared_Key where those destinations are not trusted, since the vulnerable code path is unreachable otherwise - the trade-off is loss of authenticated transport for log forwarding, requiring an alternative such as a TLS-terminating relay. Where Secure Forward must stay enabled, restrict outbound reachability of the Fluent Bit process to a strictly allow-listed set of forward peer IPs and ports, and protect the TCP session from interception or spoofing (for example via network segmentation or an authenticated tunnel), accepting that this reduces but does not eliminate risk if a permitted peer is compromised. Disable the opt-in --supervisor mode with fork-only respawns, as it preserves canary and address layout and materially increases the chance of successful exploitation on hardened builds; note this removes automatic fork-based recovery and may affect restart behavior. Ensure builds are compiled with stack-protector (for example -fstack-protector-strong) and full ASLR to force a crash instead of code execution, understanding this downgrades the impact to denial of service rather than fixing the overflow, and plan the upgrade as the definitive fix.

Affected VersionsENISA

fluent-bit 0.11.0, < 5.0.8

Affected Packages

euvd fluent_bit_0_11_0 fix: 5.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fluent Bit's out_forward plugin implements the Fluentd Secure Forward protocol, which negotiates a shared key (Shared_Key or Empty_Shared_Key) and exchanges HELO/PING/PONG messages encoded as MessagePack. In plugins/out_forward/forward.c, the function secure_forward_pong copies the server-controlled PONG[2] reason field into a fixed 32-byte stack buffer named msg using memcpy without first validating the MessagePack object type or its length, which is the classic root cause for CWE-121 (stack-based buffer overflow). Because the destination is a network peer that supplies the PONG frame, an attacker in position to control or impersonate that peer can present an oversized reason value and write past the end of msg into stack control data such as the return address or saved registers. On builds compiled with a stack canary (for example -fstack-protector-strong), the overflow is typically caught and the process aborts, giving denial of service; on builds built without canary protection, or where a separate memory-disclosure primitive is available to defeat ASLR, the overwrite can be leveraged for remote code execution as the Fluent Bit process user. The opt-in --supervisor mode is an aggravating factor because fork-only respawns re-create children with the same canary value and address layout, allowing repeated crash-or-survive probing against an otherwise hardened binary; ordinary exec-based or service-manager restarts do not preserve that state. The upstream fix (PR #11945, commit 45486556be9d023e194665e243f156b228e195e0, released in v5.0.8) adds MessagePack type validation in secure_forward_pong, bounds the copy to sizeof(msg)-1 with explicit NUL termination, and hardens adjacent parsing in secure_forward_set_ping, secure_forward_handshake, and forward_read_ack with type checks and corrected length-format specifiers.

Know when Fluent Bit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Attacker needs an adversarial position as the impersonated forward destination and favorable build hardening (AC:H), no authentication to Fluent Bit (PR:N), and achieves process-level RCE without scope change (S:U, C/I/A:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 17:02 EUVD
CVE Published
Sep 21, 2026 - 16:10 cve.org
CRITICAL 9.2

DescriptionCVE.org

Fluent Bit is a fast and lightweight logs, metrics, and traces processor for Linux, BSD, macOS, and Windows. From 0.11.0 until 5.0.8, plugins/out_forward/forward.c secure_forward_pong copies the server-controlled PONG[2] reason into the 32-byte stack buffer msg with memcpy without checking its MessagePack type or length. An attacker who controls or can impersonate an out_forward Secure Forward destination configured with Shared_Key or Empty_Shared_Key can send an oversized reason during the first handshake and overwrite stack control data. Protected builds reliably terminate, while builds without a stack canary or with a disclosure can allow remote code execution as the Fluent Bit process user. When the opt-in --supervisor mode is used, fork-only respawns preserve the canary and address layout, allowing repeated crash-or-survive probes to support code execution on a hardened build; ordinary exec-based or service-manager restarts do not preserve that state. This issue is fixed in version 5.0.8.

Technical POC Analysis

CWE-121 stack-based buffer overflow in plugins/outforward/forward.c, function secureforwardpong().

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Fluent Bit deployments that use the out_forward plugin in Secure Forward mode face a critical memory-corruption flaw that can stop log forwarding or, on less protected builds, allow an attacker to execute code with the Fluent Bit service account's privileges. This matters because Fluent Bit frequently carries security, operational, and compliance telemetry, so a compromised or disrupted pipeline can blind monitoring, break audit trails, and undermine downstream trust across the organization. No public exploit identified at time of analysis, but the affected configuration is opt-in rather than default, so leadership should focus on locating and hardening any such deployments immediately.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable out_forward Secure Forward mode where not required; where required, restrict network egress to trusted forwarding destinations, enforce TLS/mTLS and strong shared-key validation, segment Fluent Bit from untrusted networks, run as a least-privilege service account, enable stack canaries/ASLR on builds where possible, and monitor for crashes, restarts, and anomalous PONG/handshake traffic; apply vendor workarounds if released.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
High
CNCF-graduated log/metrics processor deployed pervasively across cloud-native and Kubernetes environments
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-4323 CRITICAL POC
9.8 May 20

A memory corruption vulnerability in Fluent Bit versions 2.0.7 thru 3.0.3. Rated critical severity (CVSS 9.8), this vuln

CVE-2021-36088 CRITICAL POC
9.8 Jul 01

Fluent Bit (aka fluent-bit) 1.7.0 through 1.7.4 has a double free in flb_free (called from flb_parser_json_do and flb_pa

CVE-2024-50609 HIGH POC
7.5 Feb 18

An issue was discovered in Fluent Bit 3.1.9. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2024-50608 HIGH POC
7.5 Feb 18

An issue was discovered in Fluent Bit 3.1.9. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2024-23722 HIGH POC
7.5 Mar 26

In Fluent Bit 2.1.8 through 2.2.1, a NULL pointer dereference can be caused via an invalid HTTP payload with the content

CVE-2024-26455 HIGH POC
7.5 Feb 26

fluent-bit 2.2.2 contains a Use-After-Free vulnerability in /fluent-bit/plugins/custom_calyptia/calyptia.c. Rated high s

CVE-2021-27186 HIGH POC
7.5 Feb 10

Fluent Bit 1.6.10 has a NULL pointer dereference when an flb_malloc return value is not validated by flb_avro.c or http_

CVE-2019-9749 HIGH POC
7.5 Mar 13

An issue was discovered in the MQTT input plugin in Fluent Bit through 1.0.4. Rated high severity (CVSS 7.5), this vulne

CVE-2025-29478 MEDIUM POC
5.5 Apr 07

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 cfl_list.h:

CVE-2025-29477 MEDIUM POC
5.5 Apr 04

An issue in fluent-bit v.3.7.2 allows a local attacker to cause a denial of service via the function consume_event. Rate

CVE-2025-12969 MEDIUM
6.5 Nov 24

Fluent Bit in_forward input plugin does not properly enforce the security.users authentication mechanism under certain c

CVE-2025-12978 MEDIUM
5.4 Nov 24

Fluent Bit in_http, in_splunk, and in_elasticsearch input plugins contain a flaw in the tag_key validation logic that fa

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy