Inclusion of Sensitive Information in Log Files in Filebeat and Filebeat OSS - CVE-2023-31413

 

Inclusion of Sensitive Information in Log Files in Filebeat and Filebeat OSS - CVE-2023-31413

Published: October 6, 2023 / Updated: December 19, 2025


Vulnerability identifier: #VU81681
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-31413
CWE-ID: CWE-532
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to Filebeat httpjson input allows to store HTTP request Authorization or Proxy-Authorization header contents into log files, when debugging is enabled. A local user can read the log files and gain access to sensitive data.


Affected software

Filebeat
Filebeat OSS

How to mitigate CVE-2023-31413

Install updates from vendor's website.

Filebeat - addressed in versions 7.17.10, 8.7.0
Filebeat OSS - addressed in versions 7.17.10, 8.7.0

External References

Related Security Bulletins