Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-12977

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-12977
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:10 UTC · Revision 1

Source evidence

CVE-2025-12977

core-osv · Original source

Published 24 Nov 2025, 14:40 UTC

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.

osv:CVE-2025-12977
Complete source record
{
  "id": "5931c49d5ffeba24aafabf807adc7d58b4ef7795806e7b9848aa687bdb4335fa",
  "url": "https://osv.dev/vulnerability/CVE-2025-12977",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-12977",
    "summary": "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.",
    "evidence": "osv:CVE-2025-12977",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-12977",
      "aliases": [
        "BIT-fluent-bit-2025-12977",
        "CVE-2025-12977"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fluent/fluent-bit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"
                },
                {
                  "last_affected": "a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:treasuredata:fluent_bit:4.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0"
                      },
                      {
                        "last_affected": "4.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.1.0",
            "v4.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12977.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.997351395Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12977.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-12977",
        "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"
      ],
      "provider_metadata": {
        "cna_assigner": "certcc",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "4.0.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12977.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-12977",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494849,
  "published_at": "2025-11-24T14:40:12.642+00:00"
}