CVE-2021-3129
Description
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.943%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2023-09-18 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Laravel Ignition File Upload Vulnerability |
|---|---|
| Vendor / product | Laravel / Ignition |
| Date added | 2023-09-18 |
| Federal remediation due date | 2023-10-09 |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2021-01-12Published by the CNA14:07 UTC
- 2021-01-14First Exploit-DB entry (EDB-ID 49424)2 days after publication
- 2021-03-29GitHub advisory published (GHSA-4qwp-7c67-jmcc)76 days after publication
- 2023-09-18Added to the CISA KEV catalog979 days after publication
- 2025-02-04CISA SSVC decision recorded1484 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 49424 | webapps | php | 2021-01-14 | no |
Nuclei templates:
- CVE-2021-3129: Laravel with Ignition <= v8.4.2 Debug Mode - Remote Code Execution
GitHub advisory GHSA-4qwp-7c67-jmcc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist facade/ignition | before 1.6.15 | 1.6.15 |
| Packagist facade/ignition | from 1.7.0 before 1.16.14 | 1.16.14 |
| Packagist facade/ignition | from 2.0.0 before 2.4.2 | 2.4.2 |
| Packagist facade/ignition | from 2.5.0 before 2.5.2 | 2.5.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| facade ignition | before 2.5.2fixed in 2.5.2 | 2.5.2 |
References
- https://github.com/facade/ignition/pull/334
- http://packetstormsecurity.com/files/162094/Ignition-2.5.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/165999/Ignition-Remote-Code-Execution.html
- https://www.ambionics.io/blog/laravel-debug-rce
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3129
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-3129'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-3129'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-3129'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-3129'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-3129'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).