CVE-2026-142647: Laravel: Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters
Laravel is a web application framework. Prior to 12.72.0 and 13.41.0, When an application passes attacker-influenced, numeric-keyed parameters (for example a request's query array) to temporarySignedRoute() or signedRoute(), and those parameters do not fill a route placeholder, Laravel appended their values to the query string without URL encoding. An attacker can use this to add a second expires field to the signed URL. The signature covers that field, but request parsing reads it as the authoritative value, so the signed URL is treated as never expiring. Exploitation requires the application to forward such input into signed URL generation. 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
Laravelto a version that resolves this vulnerability.Fixed in 12.72.0 - Upgrade
Upgrade
Laravelto a version that resolves this vulnerability.Fixed in 13.41.0
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using Laravel versions earlier than 12.72.0 or 13.41.0 are exposed only if they pass attacker-influenced numeric-keyed parameters, such as a request query array, into temporarySignedRoute() or signedRoute() and those parameters do not fill route placeholders.
What must an attacker be able to do to exploit it?
The attacker must be able to influence numeric-keyed parameters that the application forwards into signed URL generation. They can use the resulting unencoded query-string values to introduce a second expires field, causing request parsing to treat the URL as never expiring.
Are signed URLs affected by default?
No. Exploitation requires application-specific behavior that forwards attacker-controlled numeric-keyed input to temporarySignedRoute() or signedRoute(); the issue is not described as affecting signed URLs generated without such input.
How can this be remediated?
Upgrade Laravel to version 12.72.0 or 13.41.0. If an immediate upgrade is not possible, avoid passing attacker-influenced numeric-keyed parameters, including request query arrays, to temporarySignedRoute() or signedRoute().