Laravel: Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters
Published 3 Dec 2026 · Updated 3 Dec 2026
Affected packages
- Affected
- <12.72.0
- Fixed in
- 12.72.0
composer require laravel/framework:^12.72.0- Affected
- >=13.0.0 <13.41.0
- Fixed in
- 13.41.0
composer require laravel/framework:^13.41.0Which laravel/framework does your project really install?
Works for private projects: the file is read in memory to run the scan and then dropped. Also reads composer.json.
Public repo?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Details
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.
Is GHSA-6rv8-qj5v-p8ch in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.
More advisories for laravel/framework
- HighCVE-2026-142610Laravel: Numeric validation can exhaust resources via extreme exponent input · 4 Dec 2026
- LowCVE-2026-142622Laravel: Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback · 3 Dec 2026
- MediumCVE-2026-142637Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values · 3 Dec 2026
- MediumCVE-2026-142644Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service · 3 Dec 2026
- MediumCVE-2026-142649Laravel: `in` / `Rule::in` validation rule bypass via loose comparison · 3 Dec 2026
- MediumCVE-2026-142643Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB · 3 Dec 2026
References
- Linkgithub.com/laravel/framework/security/advisories/GHSA-6rv8-qj5v-p8ch
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-142647
- Linkgithub.com/laravel/framework/pull/62401
- Linkgithub.com/laravel/framework/commit/9c4b57b7d53a5f2f69874654f2b430d3b9238f82
- Linkgithub.com/laravel/framework/commit/aa9deaa76986a3745e0a924db9d09e1ca4e3f70d
- Packagegithub.com/laravel/framework
- Linkgithub.com/laravel/framework/releases/tag/v12.72.0
- Linkgithub.com/laravel/framework/releases/tag/v13.41.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.