GHSA-6rv8-qj5v-p8ch: Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters
- Published:
- Fetched:
- Updated:
- Affects:
- laravel laravel/framework
https://github.com/laravel/framework/security/advisories/GHSA-6rv8-qj5v-p8ch ↗
Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters ### Impact 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. ### Patches This issue has been patched in Laravel 12.72.0 and 13.41.0, which URL-encode numeric-keyed query parameters: https://github.com/laravel/framework/pull/62401. Users should upgrade to one of these versions or later. ### Workarounds Do not pass request-derived arrays to signed route generation. Pass only explicitly selected, string-keyed parameters. Affected packages: composer:laravel/framework Patched: laravel/framework 12.72.0, laravel/framework 13.41.0