Skip to content
OpenAdvisories

Weakness (CWE)

CWE-209: Generation of Error Message Containing Sensitive Information

Base Draft

The product generates an error message that includes sensitive information about its environment, users, or associated data.

How to prevent it (7 mitigations)
  1. Implementation

    Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.

    If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.

    Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.

  2. Implementation

    Handle exceptions internally and do not display errors containing potentially sensitive information to a user.

  3. Implementation

    Use naming conventions and strong types to make it easier to spot when sensitive data is being used. When creating structures, objects, or other complex entities, separate the sensitive and non-sensitive data as much as possible.

  4. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  5. Implementation, Build and Compilation

    Debugging information should not make its way into a production release.

  6. System Configuration

    Where available, configure the environment to use less verbose error messages. For example, in PHP, disable the display_errors setting during configuration, or at runtime using the error_reporting() function.

  7. System Configuration

    Create default error pages or messages that do not leak any information.

Source: MITRE CWE-209

24 results · Clear filters · Feed

  • Medium 5.3
    CVE-2026-101259 Public exploit

    Apache Camel: Camel-CoAP Information Disclosure via Unmuted Consumer Exceptions

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel CoAP component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2. When the CoAP consumer could not build its response once the route…

  • Medium 5.3
    CVE-2026-85315 Public exploit

    Apache Camel: Camel-gRPC Information Disclosure via Unmuted Consumer Exceptions

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel gRPC component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. When a route behind a gRPC consumer failed, the exception's messag…

  • Medium 5.3
    CVE-2026-85257 Public exploit

    Apache Camel: Camel-CXF Information Disclosure via Unmuted Consumer Exceptions

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel CXF component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. When a route behind a CXF SOAP consumer failed with an exception th…

  • Medium 5.3
    CVE-2026-85246 Public exploit

    Apache Camel: Camel-Mina Information Disclosure via Unmuted Consumer Exceptions

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Mina component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. When processing of an exchange failed, the Mina consumer wrote exc…

  • Medium 5.3
    CVE-2026-84180 Public exploit

    Apache Camel: Camel-Knative Information Disclosure via Unmuted Consumer Exceptions

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Knative component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. When processing of an exchange failed on the consumer side, the…

  • Medium 5.3
    CVE-2026-56139 Public exploit

    Apache Camel Undertow: The muteException consumer option defaulted to false, so a processing error returned the full Java stack trace in the HTTP response body, disclosing sensitive internal information to unauthenticated clients

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Undertow Component. The camel-undertow HTTP server consumer exposes a muteException option that controls what is returned to the client when a route processing error oc…

  • Medium 5.3
    CVE-2026-49365 Public exploit

    Apache Camel: Camel-Netty-HTTP: The muteException consumer option defaulted to false, so a processing error returned the full Java stack trace in the HTTP response body, disclosing sensitive internal information to unauthenticated clients

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Netty HTTP component. The camel-netty-http HTTP server consumer exposes a muteException option that controls what is returned to the client when a route processing erro…

  • Medium 5.3
    CVE-2026-9794 Public exploit

    Keycloak: keycloak: information disclosure via saml ecp endpoint

    A flaw was found in Keycloak. A remote, unauthenticated attacker can exploit this vulnerability by sending specially crafted SOAP requests to the SAML ECP (Security Assertion Markup Language Enhanced Client or Proxy) endpoint with varying client IDs. By obser…

  • Critical 9.8
    CVE-2026-22778 Public exploit EPSS 18%

    vLLM leaks a heap address when PIL throws an error

    vLLM is an inference and serving engine for large language models (LLMs). From 0.8.3 to before 0.14.1, when an invalid image is sent to vLLM's multimodal endpoint, PIL throws an error. vLLM returns this error to the client, leaking a heap address. With this l…

  • Critical 10.0
    CVE-2025-62168 Public exploit EPSS 65%

    Squid vulnerable to information disclosure via authentication credential leakage in error handling

    Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication credentials in error handling allows information disclosure. The vulnerability allows a script to bypass browser security protections and learn the c…

  • High 7.5
    CVE-2025-23320 Public exploit

    NVIDIA Triton Inference Server for Windows and Linux contains a vulnerability in the Python backend, where an attacker …

  • High 7.5
    CVE-2025-44203 Public exploit

    In HotelDruid 3.0.0 and 3.0.7, the unauthenticated database-setup endpoint creadb.php can be reached before setup is co…

  • High 7.5
    CVE-2024-39719 Public exploit

    An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the …

  • Medium 5.3
    CVE-2024-44762 Public exploit

    A discrepancy in error messages for invalid login attempts in Webmin Usermin v2.100 allows attackers to enumerate valid…

  • Medium 5.3
    CVE-2024-45440 Public exploit

    Drupal Full Path Disclosure

    core/authorize.php in Drupal 11.x-dev allows Full Path Disclosure (even when error logging is None) if the value of hash_salt is file_get_contents of a file that does not exist.

  • High 7.5
    CVE-2024-29059 Exploited Public exploit EPSS 99%

    .NET Framework Information Disclosure Vulnerability

    .NET Framework Information Disclosure Vulnerability

    KEV Feb 4, 2025
  • Medium 5.3
    CVE-2024-21733 Public exploit EPSS 14%

    Apache Tomcat: Leaking of unrelated request bodies in default error page

    Generation of Error Message Containing Sensitive Information vulnerability in Apache Tomcat.This issue affects Apache Tomcat: from 8.5.7 through 8.5.63, from 9.0.0-M11 through 9.0.43. Other, EOL versions may also be affected. Users are recommended to upgrade …

  • Unscored —
    CVE-2023-20593 Public exploit

    An issue in “Zen 2” CPUs, under specific microarchitectural circumstances, may allow an attacker to potentially access …

  • High 7.4
    CVE-2023-27587 Public exploit

    ReadtoMyShoe, a web app that lets users upload articles and listen to them later, generates an error message containing…

  • Medium 6.5
    CVE-2021-22145 Public exploit EPSS 76%

    Generation of Error Message Containing Sensitive Information in Elasticsearch

    A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing p…

  • Unscored —
    CVE-2021-30357 Public exploit EPSS 23%

    SSL Network Extender Client for Linux before build 800008302 reveals part of the contents of the configuration file sup…

  • Medium 5.3
    CVE-2020-11883 Public exploit EPSS 15%

    Diavante vue-storefront-api and storefront-api disclose stack trace

    In Divante vue-storefront-api through 1.11.1 and storefront-api through 1.0-rc.1, as used in VueStorefront PWA, unexpected HTTP requests lead to an exception that discloses the error stack trace, with absolute file paths and Node.js module names.

  • Medium 6.5
    CVE-2013-7331 Exploited Public exploit EPSS 50%

    The Microsoft.XMLDOM ActiveX control in Microsoft Windows 8.1 and earlier allows remote attackers to determine the exis…

    KEV May 25, 2022
  • Medium —
    CVE-2009-0815 Public exploit EPSS 42%

    TYPO3 leaks a hash secret in an error message

    The jumpUrl mechanism in class.tslib_fe.php in TYPO3 3.3.x through 3.8.x, 4.0 before 4.0.12, 4.1 before 4.1.10, 4.2 before 4.2.6, and 4.3alpha1 leaks a hash secret (juHash) in an error message, which allows remote attackers to read arbitrary files by includin…