CVE-2021-3129: Laravel Ignition File Upload Vulnerability

In short

CVE-2021-3129 is a vulnerability in Laravel Ignition that attackers are exploiting. It allows unauthenticated remote attackers to execute malicious code due to insecure usage of file_get_contents() and file_put_contents(). CISA added it to its Known Exploited Vulnerabilities catalog on 18 Sep 2023, and US federal agencies had to fix it by 9 Oct 2023. It is known to be used in ransomware campaigns.

What is CVE-2021-3129?

CISA describes it as: Laravel Ignition contains a file upload vulnerability that allows unauthenticated remote attackers to execute malicious code due to insecure usage of file_get_contents() and file_put_contents().

Is CVE-2021-3129 being exploited?

Yes. CISA adds a vulnerability to the catalog only when it has evidence of exploitation in the wild, and it added CVE-2021-3129 on . It is known to be used in ransomware campaigns.

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 99%+, higher than 99% of scored CVEs (as of 29 Nov 2026).

How severe is CVE-2021-3129?

NVD scores it 9.8 (critical) on CVSS 3.1. CVSS measures how bad a flaw is; EPSS and the KEV listing say how likely it is to be used.

How do you fix CVE-2021-3129?

CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Vendor guidance: github.com.

US federal agencies had until . For everyone else that date is a ceiling, not a target.

Which versions are affected?

CISA's catalog does not list version numbers. The vendor advisory and the NVD record list the affected and fixed versions.

Sources

  1. CISA Known Exploited Vulnerabilities catalog: CVE-2021-3129
  2. NIST National Vulnerability Database: CVE-2021-3129
  3. CVE record
  4. FIRST Exploit Prediction Scoring System (EPSS)
  5. github.com

Data last updated · Compiled by Rokkhe Research from CISA, FIRST and NVD. This page uses the NVD API and is not endorsed or certified by the NVD.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.