PortGate

Advisories · PHP & Laravel

CVE-2021-3129 Critical CVSS 9.8 Actively exploited

Laravel Ignition remote code execution when debug is on

Disclosed 2021 · Last reviewed 2 Dec 2026

The Ignition debug page could be driven into running PHP on servers that left APP_DEBUG enabled.

What happened

Ignition exposed a solution endpoint that wrote a file and then executed it when debug mode was on.

Affected and patched versions

Affected
facade/ignition before 2.5.2 when the application is reachable and APP_DEBUG is true.
Patched
facade/ignition 2.5.2 and later. Production apps should also set APP_DEBUG=false.

How to check your server

Check

composer show facade/ignition

How to fix and harden

  1. Run composer show facade/ignition in the application.
  2. Upgrade to 2.5.2 or later if the package is installed.
  3. Set APP_DEBUG=false on every internet-facing environment and reload PHP-FPM.

Fix

composer show facade/ignition

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON