{"id":"CVE-2026-142645","aliases":["GHSA-v5ch-g375-82r6"],"url":"https://o3.security/vulnerability/CVE-2026-142645","summary":"Laravel: Temporary signed URL expiration bypass","details":"### Impact\n\nWhen 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.\n\n### Patches\n\nThis 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.\n\n### Workarounds\n\n- Limit URL length at the web server. Default nginx and Apache settings already reject the long URL the attack needs.\n- If web server configuration is unavailable, add a middleware ahead of `signed` that returns an error when the raw query has more pairs than `max_input_vars` or when `expires` appears in the raw query but is missing from the parsed one.","published":"2026-12-02T22:57:17.186Z","modified":"2026-12-03T21:02:14.011152070Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"12.72.0"},{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"13.41.0"}],"fix":{"url":"https://github.com/laravel/framework/commit/b3b868a50ee80e0fe06f1f6804d318f176a59533","label":"laravel/framework@b3b868a"},"references":[{"type":"WEB","url":"https://github.com/laravel/framework/releases/tag/v12.72.0"},{"type":"WEB","url":"https://github.com/laravel/framework/releases/tag/v13.41.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142645.json"},{"type":"ADVISORY","url":"https://github.com/laravel/framework/security/advisories/GHSA-v5ch-g375-82r6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142645"},{"type":"FIX","url":"https://github.com/laravel/framework/commit/b3b868a50ee80e0fe06f1f6804d318f176a59533"},{"type":"FIX","url":"https://github.com/laravel/framework/commit/ba9e21eb9451bab33741be99239baf8ec4ff94ca"},{"type":"FIX","url":"https://github.com/laravel/framework/pull/62349"},{"type":"PACKAGE","url":"https://github.com/laravel/framework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-03T21:02:14.011152070Z"}}