CWE•Base•Incomplete•20 recent CVEs
CWE-532Insertion of Sensitive Information into Log File
Description
The product writes sensitive information to a log file.
Common consequences
- Confidentiality→Read Application DataLogging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.
Potential mitigations
- Architecture and Design,ImplementationConsider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
- DistributionRemove debug log files before deploying the application into production.
- OperationProtect log files against unauthorized read/write.
- ImplementationAdjust configurations appropriately when software is transitioned from a debug state to production.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-1186478.22026-10-28CVE-2026-796566.02026-10-28CVE-2026-1166916.52026-10-27CVE-2026-1083284.22026-10-27CVE-2026-1083256.62026-10-27CVE-2026-1144092026-10-27CVE-2026-1173412026-10-27CVE-2026-1168146.52026-10-27CVE-2026-1122504.42026-10-26CVE-2026-1158852026-10-23CVE-2026-547112026-10-23CVE-2026-1059632026-10-23CVE-2026-1156572026-10-23CVE-2026-1153582.02026-10-22CVE-2026-962932026-10-22CVE-2026-166482026-10-22CVE-2026-1137995.32026-10-21CVE-2026-1144714.72026-10-21CVE-2026-1140735.52026-10-21CVE-2026-1117622026-10-20