CWE-1295: Debug Messages Revealing Unnecessary Information
The product fails to adequately prevent the revealing of unnecessary and potentially sensitive system information within debugging messages.
Last updated
The product fails to adequately prevent the revealing of unnecessary and potentially sensitive system information within debugging messages.
Last updated
20 recorded CVEs are caused by CWE-1295 (Debug Messages Revealing Unnecessary Information). The highest-severity and most recent are shown first. 2 new CWE-1295 CVEs have been recorded so far in 2026 (8 in 2025).
Aimeos HTML client may potentially reveal sensitive information in error log
Apache JSPWiki: Error Handling - Reveals Error Details
WordPress GTM Kit plugin <= 2.4.0 - Sensitive Data Exposure vulnerability
Apache Airflow: Sensitive configuration values are not masked in the logs by default
Advantech WebAccess Debug Messages Revealing Unnecessary Information
Detailed Error Response Vulnerability in Meon KYC solutions
Event-driven-ansible: exposure inventory passwords in plain text when starting a rulebook activation with verbosity set to debug in eda
Debug Messages Revealing Unnecessary Information in GitLab
Possible route enumeration in production mode via RouteNotFoundError view in Vaadin 10, 11-14, and 15-19
Showing 12 of 20 recorded CWE-1295 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsWhat can happen when CWE-1295 is exploited.
Read Memory, Bypass Protection Mechanism, Gain Privileges or Assume Identity, Varies by Context
Affects: Confidentiality, Integrity, Availability, Access Control, Accountability, Authentication, Authorization, Non-Repudiation
Typically introduced during these phases of the software lifecycle.
Practical mitigations for CWE-1295, grouped by where in the lifecycle they apply.
Ensure that a debug message does not reveal any unnecessary information during the debug process for the intended response.
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
MITRE examples of the weakness in code.
This example here shows how an attacker can take advantage of unnecessary information in debug messages.
Real CVEs that MITRE cites as examples of this weakness.
CAPEC attack patterns that exploit this weakness.
Common questions about CWE-1295.
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Get an alert when a new CWE-1295 CVE affects your products, with AI-written analysis and remediation steps.