Laravel 13.43 and 12.73 close two signed-URL expiry bypasses
Laravel released versions 13.43.0 and 12.73.0 of its framework on 17 November. Several of the fixes concern checks that could be passed when they should fail.
Two changes affect temporary signed URLs: #62401 fixes an "expiration bypass via numeric query-fragment parameter smuggling", and #62411 prevents array expires parameters "from bypassing signed URL expiration". Related fixes let the expires value be read from the QUERY_STRING header and from VAPOR_RAW_QUERY_STRING. Another, #62418, fixes an XSS in the debug page's "copy request URL" action.
In validation, #62427 fixes not_regex passing when the pattern match fails. As its description explains, PHP's preg_match() returns false when it cannot evaluate a pattern - for example on malformed UTF-8 with the u modifier - and not_regex treated false as "no match" and passed, while regex already failed in that case; now it passes only on a clean 0. Other changes enforce email addresses that comply with RFC 5321, use possessive quantifiers in the decimal rule, compare fluent database rule where() values literally, and fix wildcard rules that skipped empty array keys. New in 13.x are releaseUsingBackoff() on InteractsWithQueue and a #[RetryFor] queue attribute.

Why it matters
The not_regex fix is the general lesson in this release: a function that can return "no match" or "could not check" was read as if only the first existed. The signed-URL fixes are the same pattern at the edge of the request, where unusual parameter shapes skipped the expiry check.