CVE-2026-142645: Laravel: Temporary signed URL expiration bypass
Laravel is a web application framework. Prior to 12.72.0 and 13.41.0, When PHP's maxinputvars 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 maxinputvars, which depends on server and proxy limits. This issue is fixed in versions 12.72.0 and 13.41.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 12.72.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 13.41.0
Event History
Frequently Asked Questions
Which Laravel versions need to be updated?
Laravel versions earlier than 12.72.0 and 13.41.0 are affected. Upgrade to 12.72.0, 13.41.0, or a later applicable release.
What conditions are required for exploitation?
An attacker must be able to send a request line long enough that PHP's max_input_vars handling drops the expires query parameter. Whether this is feasible depends on the request-length limits enforced by the server and any proxies.
What is the impact if exploitation succeeds?
An expired temporary signed URL may be accepted as though it has no expiration. The published severity vector indicates low confidentiality and integrity impact, with no availability impact.