Laravel Debug Enabled

Anandhu K A
Published on
10 Jan 2022


Laravel Debug mode is enabled with APP_DEBUG set to True An attacker can obtain information such as:

  • Application key

  • Database connection strings

This information might help an attacker to gain more information and exploit further attacks to the target system.


  • Change .env file to disable debug mode:


Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu K A
Anandhu K A
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment