Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. facade/ignition
  4. ›
  5. CVE-2021-3129

CVE-2021-3129: Unauthenticated remote code execution in Ignition

March 29, 2021 (updated October 22, 2025)

Ignition before 2.5.2, as used in Laravel and other products, allows unauthenticated remote attackers to execute arbitrary code because of insecure usage of file_get_contents() and file_put_contents(). This is exploitable on sites using debug mode with Laravel before 8.4.2.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/facade/ignition/CVE-2021-3129.yaml
  • github.com/advisories/GHSA-4qwp-7c67-jmcc
  • github.com/facade/ignition
  • github.com/facade/ignition/commit/11ffca14abd22db779d90b12e193f8000f6d184b
  • github.com/facade/ignition/pull/334
  • nvd.nist.gov/vuln/detail/CVE-2021-3129
  • www.ambionics.io/blog/laravel-debug-rce
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3129

Code Behaviors & Features

Detect and mitigate CVE-2021-3129 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.15, all versions starting from 1.7.0 before 1.16.14, all versions starting from 2.0.0 before 2.4.2, all versions starting from 2.5.0 before 2.5.2

Fixed versions

  • 2.5.2
  • 2.4.2
  • 1.16.14
  • 1.6.15

Solution

Upgrade to versions 1.16.14, 1.6.15, 2.4.2, 2.5.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/facade/ignition/CVE-2021-3129.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 18 Nov 2025 00:20:15 +0000.