The application had Laravel debug mode enabled in a publicly accessible environment. An unauthenticated attacker could send a GET request to trigger an unhandled exception, leading to the exposure of the entire server environment, including all `.env` configuration variables, in plaintext. This occurred because the `APP DEBUG` variable was set to `true` and the `APP ENV` variable was set to `local`.