1. CVE archive
  2. Vulnerability types
  3. CWE-532
CWE-532 · #46 most frequent type in the archive

Insertion of Sensitive Information into Log File

The product writes sensitive information to a log file.

Part of: CWE-538 · Insertion of Sensitive Information into Externally-Accessible File or Directory

1,320CVEs of this type in the archive
56critical (CVSS ≥ 9)
303high severity (7–8.9)
Dec 2, 2026latest published

What it is

The product writes sensitive information to a log file.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
Logging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.

How to prevent it

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.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-532 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20051
20111
20131
20167
201729
201864
201991
202085
202181
2022114
2023140
2024187
2025170
2026349

All CWE-532 CVEs

1,320 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.