CWE-531: Inclusion of Sensitive Information in Test Code
Accessible test applications can pose a variety of security risks. Since developers or administrators rarely consider that someone besides themselves would even know about the existence of these applications, it is common for them to contain sensitive information or functions.
Last updated
Overview
CWE-531 (Inclusion of Sensitive Information in Test Code) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
2 recorded CVEs are caused by CWE-531 (Inclusion of Sensitive Information in Test Code). The highest-severity and most recent are shown first. 0 new CWE-531 CVEs have been recorded so far in 2026 (2 in 2025).
Common consequences
What can happen when CWE-531 is exploited.
Read Application Data
Affects: Confidentiality
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.