Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-12972: Fluent Bit out_file plugin does not properly sanitize tag values when deriving output file names

39
Routine
MEDIUM 5.3REMOTEDOWNGRADE

CVE-2025-12972 is a medium-severity flaw (CVSS 5.3) affecting fluent bit. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Remotely exploitable, no login, no user action

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 39%)
CISA exploited listNo
WeaknessCWE-22
Published2025-11-24
Last modified2026-10-08
Publisher (CNA): CERT/CC · Vendor: treasuredata

Share: LinkedIn · X · Reddit

Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

treasuredata fluent bit DOWNGRADE
Affected: 4.1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.1.0
1. Check installed version
apt-cache policy fluent-bit || rpm -q fluent-bit || fluent-bit --version
2. No fixed release: DOWNGRADE to a release before 4.1.0 (Debian / Ubuntu)
apt-cache madison fluent-bit sudo apt install fluent-bit=<VERSION_BEFORE_4.1.0> sudo apt-mark hold fluent-bit
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list fluent-bit sudo dnf downgrade fluent-bit-<VERSION_BEFORE_4.1.0> sudo dnf versionlock add fluent-bit
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-12972?

fluent bit: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2025-12972 being exploited?

CVE-2025-12972 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-12972 affect?

CVE-2025-12972 affects fluent bit. Severity is medium (CVSS 5.3). 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 cra

How urgent is CVE-2025-12972?

Priority 39/100. Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.