Description
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.
Published: 2026-09-21
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

This vulnerability occurs when Fluent Bit’s out_forward Secure Forward PONG handler copies a server‐controlled PONG[2] reason into a 32‑byte stack buffer using memcpy without validating the MessagePack type or length. An attacker who controls or can impersonate a Secure Forward destination configured with Shared_Key or Empty_Shared_Key can send an oversized reason during the first handshake, overwriting stack control data and potentially executing arbitrary code as the Fluent Bit process user or causing a denial of service.

Affected Systems

Fluent Bit vendors and releases from 0.11.0 through 5.0.8 inclusive are affected on all supported operating systems. The issue resides in plugins/out_forward/forward.c and is triggered only when Secure Forward destinations use the Shared_Key or Empty_Shared_Key options. Version 5.0.8 and newer contain a fix that validates the length prior to copying.

Risk and Exploitability

The CVSS score of 9.2 reflects critical severity. The EPSS score is not available, so a precise exploitation probability is unknown, but the absence of stack canaries or the presence of disclosures could enable successful attacks. The vulnerability is not listed in the CISA KEV catalog, and no public exploits have been reported. Attackers can exploit the flaw remotely by sending an oversized PONG reason from an impersonated or compromised Secure Forward destination; the exposed network interface and the vulnerability’s ability to overwrite stack frames give this vulnerability a high operational risk when the affected configuration is in use.

Generated by OpenCVE AI on September 21, 2026 at 17:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Fluent Bit to version 5.0.8 or later, which validates the buffer length before copying and removes the overflow risk.
  • If the out_forward Secure Forward plugin is unnecessary, disable it or ensure it does not use Shared_Key or Empty_Shared_Key until the patch is applied.
  • Verify that deployments do not rely on a system without stack canaries and that supervisor‐mode respawns preserve canary values; consider disabling supervisor mode until the fix is in place.

Generated by OpenCVE AI on September 21, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Fluent
Fluent fluent Bit
Vendors & Products Fluent
Fluent fluent Bit

Mon, 21 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Fluent Bit: Remote stack buffer overflow in Fluent Bit `out_forward` Secure-Forward `PONG` handler
Weaknesses CWE-121
CWE-787
CWE-843
References
Metrics cvssV4_0

{'score': 9.2, 'vector': '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'}


Subscriptions

Fluent Fluent Bit
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-21T16:10:15.276Z

Reserved: 2026-07-10T18:25:21.468Z

Link: CVE-2026-61674

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T17:17:36.663

Modified: 2026-09-21T17:17:36.663

Link: CVE-2026-61674

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T17:30:18Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

  • CWE-787

    Out-of-bounds Write

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')