Property
Languagepython
Severityhigh
CWECWE-489: Active Debug Code
OWASPA06:2017 - Security Misconfiguration
Confidence LevelHigh
Impact LevelMedium
Likelihood LevelHigh

Description#

The Flask application is running with debug mode enabled (‘debug=True’). This exposes sensitive error messages and internal application details that should not be visible in production environments.

Impact#

If exploited, attackers can access detailed debug information, including stack traces and environment variables, which may reveal secrets or allow code execution. This can lead to data breaches, compromise of the server, or further attacks against your application and infrastructure.