CVE-2026-142641 — laravel framework
One of 19 laravel framework vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesResearch article
Laravel Framework Vulnerability Allows Bypassed File Upload Validation
| CVE | CVE-2026-142641 |
|---|---|
| Vendor and product | laravel framework |
| Published | December 04, 2026 00:30 UTC |
| Research cut-off | December 04, 2026 00:15 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-12-03); CISA KEV catalog; GitHub advisory (2026-12-03); FIRST EPSS (2026-12-03) |
Executive summary
CVE-2026-142641 affects the Laravel framework, where versions prior to 13.43.0 and 12.73.0 allowed attackers to bypass file upload validation by using text inputs with the same name as uploaded files [1]. The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed versions 13.43.0 or 12.73.0 [3].
Key points
- CVE-2026-142641 affects Laravel versions prior to 13.43.0 and 12.73.0 [1].
- The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com [1].
- Exploitation is not reported in the reviewed sources [2].
- The vulnerability allows bypassed file upload validation [1].
- The fixed versions are 13.43.0 and 12.73.0 [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-142641 | Laravel | Framework | CWE-235 | 5.3 MEDIUM, scored by security-advisories@github.com | 2026-12-02T23:18:42 | 2026-12-03T21:45:22 | Awaiting Analysis |
Vulnerability description
In versions of Laravel before 13.43.0 and 12.73.0, the Request::all() method allowed text inputs with the same name as uploaded files to override the file itself. enabling files that bypass type and size checks to be stored [1]
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N) and no user interaction (UI:N). The attacker does not need privileges (PR:N), and the impact on integrity is low (I:L), while confidentiality and availability are unaffected (C:N, A:N) [1].
Impact analysis
The CVSS vector shows that the vulnerability has a low impact on integrity, with no effect on confidentiality or availability. The description indicates that applications handling optional file uploads might end up storing files that avoided type and size restrictions [1].
Affected products and versions
| Affected Product | Affected Versions | Fixed Version |
|---|---|---|
| laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| laravel/framework | < 12.73.0 | 12.73.0 |
Exploitation and threat intelligence status
CVE-2026-142641 is not listed in the CISA KEV catalog as of 2026-12-04 [2]. The EPSS score for this vulnerability is 0.0043 (0.43%), indicating a low probability of exploitation in the next 30 days [4].
Detection and exposure assessment
To determine if an organization is exposed, check if the installed version of laravel/framework is in the affected range: >= 13.0.0, < 13.43.0 or < 12.73.0 [3].
Remediation
The vulnerability is fixed in versions 13.43.0 and 12.73.0 [3].
Remediation checklist
- Upgrade laravel/framework to version 13.43.0 or 12.73.0 [3].
- Review applications that validate optional uploads to ensure they correctly handle file uploads [1].
- Monitor for unusual file upload activity in application logs (general guidance, not from the sources).
- Update Laravel applications to the fixed version for their branch, 13.43.0 or 12.73.0 [1][3].
Evidence gaps
- The sources do not describe the technical mechanics of how the flaw works.
- The sources do not mention any indicators of compromise.
- The sources do not provide any detection steps beyond checking installed versions.
- The sources do not give a workaround or compensating control.
- The sources do not describe the root cause beyond the CWE.
References
- CVE-2026-142641 record. NIST National Vulnerability Database (NVD), 2026-12-03. https://nvd.nist.gov/vuln/detail/CVE-2026-142641. Accessed 2026-12-04.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-04. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-04.
- GHSA-hxc4-wvjf-r59p. GitHub Security Advisory Database, 2026-12-03. https://github.com/advisories/GHSA-hxc4-wvjf-r59p. Accessed 2026-12-04.
- EPSS score for CVE-2026-142641. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2026-142641. Accessed 2026-12-04.
Summary
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, In Laravel 13.x, Request::all() let a text input with the same name as an uploaded file take precedence over the file. If an attacker submitted an empty value alongside the file, request validation (including FormRequest validation) saw the empty value instead of the upload. Rules such as nullable, image, mimes and max were then skipped. Applications that validate an optional upload this way and then read it with $request->file() or $request->hasFile() could therefore store files that bypassed type and size validation. This issue is fixed in versions 13.43.0 and 12.73.0.
Severity breakdown
Medium · 5.3
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on integrity, none on confidentiality and availability
Weakness
- CWE-235: Improper Handling of Extra Parameters
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| laravel/framework (Packagist) | ≥ 13.0.0, < 13.43.0 | 13.43.0 |
| < 12.73.0 | 12.73.0 | |
| laravel framework | >= 13.0.0, < 13.43.0, < 12.73.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/laravel/framework/commit/24f23f0ed72c31404f4f09cd5e36cb50301…
- github.com/laravel/framework/commit/4fbcd3b124f525906391f8a1b8ae51822f6…
- github.com/laravel/framework/pull/62504
- github.com/laravel/framework/pull/62521
- github.com/laravel/framework/releases/tag/v12.73.0
- github.com/laravel/framework/releases/tag/v13.43.0
Other references
Affected
- laravel framework
Frequently asked questions
What is CVE-2026-142641?
CVE-2026-142641 affects the Laravel framework, where versions prior to 13.43.0 and 12.73.0 allowed attackers to bypass file upload validation by using text inputs with the same name as uploaded files. The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com. The reviewed sources do not report exploitation. The main action is to update to the fixed versions 13.43.0 or 12.73.0. Weakness type: Improper Handling of Extra Parameters (CWE-235).
How severe is CVE-2026-142641?
CVE-2026-142641 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142641 being exploited?
Not as far as is known: CVE-2026-142641 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142641?
laravel/framework (Packagist) ≥ 13.0.0, < 13.43.0 (fixed in 13.43.0); laravel/framework (Packagist) < 12.73.0 (fixed in 12.73.0); laravel framework >= 13.0.0, < 13.43.0, < 12.73.0.
How do I fix CVE-2026-142641?
Upgrade laravel/framework to version 13.43.0 or 12.73.0. Review applications that validate optional uploads to ensure they correctly handle file uploads. Monitor for unusual file upload activity in application logs (general guidance, not from the sources).
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-144464 — appwrite
- CVE-2026-77300 — itflow-org itflow
- Wordfence Logs 443 WordPress Vulnerabilities in One Week, Mostly in Plugins
- Silverstripe Userforms Server-Side Template Injection via Email Subject Field (CVE-2026-88991)
- SilverStripe Advanced Workflow Allows Code Execution via Email Templates