CWE-532: Insertion of Sensitive Information into Log File
1215 CVEs have CWE-532 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 63.674%.
The product writes sensitive information to a log file.
Child of CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory
Mitigations
- Architecture and Design Implementation: Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
- Distribution: Remove debug log files before deploying the application into production.
- Operation: Protect log files against unauthorized read/write.
- Implementation: Adjust configurations appropriately when software is transitioned from a debug state to production.
Observed examples
- CVE-2017-9615: verbose logging stores admin credentials in a world-readable log file
- CVE-2018-1999036: SSH password for private key stored in build log
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2023-21492 | 2023-05-04 | MEDIUM | 4.4 | 2.554% | Kernel pointers are printed in the log file prior to SMR May-2023 Release 1 allows a privileged local attacker to bypass ASLR. |
| CVE-2025-24984 | 2025-03-11 | MEDIUM | 4.6 | 1.994% | Insertion of sensitive information into log file in Windows NTFS allows an unauthorized attacker to disclose information with a physical attack. |
| CVE-2026-110990 | 2026-11-17 | LOW | 2.3 | 0.122% | GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.1.7 before 19.3.9, 19.4 before 19.4.8, and 19.5 before 19.5.6 that under certain… |
| CVE-2026-126549 | 2026-11-17 | MEDIUM | 5.1 | not scored | Insertion of Sensitive Information into Log File vulnerability in Broadcom AutoSys Workload Automation (Workload Control Center (WCC) modules) on Windows… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-532'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-532'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).