CVE-2026-142645 is a medium-severity (CVSS 4.8) CWE-613 vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.
Laravel: Temporary signed URL expiration bypass
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-142645.
Real-World Exposure
laravel/framework🐘laravel/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Impact
When PHP's max_input_vars limit causes the expires query parameter to be dropped from the parsed query, Laravel's signed URL validation can still verify the signature against the raw query string. signatureHasNotExpired() then treats the URL as non-expiring, so an expired temporary signed URL may be accepted. Exploitation requires a request line long enough to exceed max_input_vars, which depends on server and proxy limits.
Patches
This issue has been patched in Laravel 12.72.0 and 13.41.0: https://github.com/laravel/framework/pull/62349. Users should upgrade to one of these versions or later.
Workarounds
- Limit URL length at the web server. Default nginx and Apache settings already reject the long URL the attack needs.
- If web server configuration is unavailable, add a middleware ahead of
signedthat returns an error when the raw query has more pairs thanmax_input_varsor whenexpiresappears in the raw query but is missing from the parsed one.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | laravel/framework | all versions | 12.72.0composer require laravel/framework:^12.72.0 |
| 🐘Packagist | laravel/framework | ≥ 13.0.0&&< 13.41.0 | 13.41.0composer require laravel/framework:^13.41.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update laravel/framework to 12.72.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-142645 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2026-142645 in your dependencies?
Find it across Packagist, including transitive dependencies.