Vulnerability DatabaseCVE-2026-142647

CVE-2026-142647: 
Laravel vulnerability analysis and mitigation

Overview

CVE-2026-142647 is a signed URL expiration bypass vulnerability in the Laravel PHP web application framework, classified as Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters. It affects Laravel framework versions prior to 12.72.0 and versions 13.0.0 through 13.41.0 (exclusive). The vulnerability was disclosed on November 11, 2026 via a GitHub Security Advisory and patched the same day. It carries a CVSS v3.1 base score of 4.8 (Medium) (GitHub Advisory, Feedly).

Technical details

The root cause is improper URL encoding (CWE-613: Insufficient Session Expiration) in Laravel's RouteUrlGenerator::getRouteQueryString() method within src/Illuminate/Routing/RouteUrlGenerator.php. When numeric-keyed parameters are passed to temporarySignedRoute() or signedRoute() and do not fill a route placeholder, Laravel appended their raw values to the query string without applying rawurlencode(). An attacker who can influence these parameters can inject a value such as expires=<future_timestamp> as a numeric-keyed array entry; because the value is appended unencoded, the query string contains a second expires field that PHP's request parsing treats as authoritative, causing the signed URL to appear as never expiring even though the HMAC signature remains valid. The fix, introduced in PR #62401, wraps numeric parameter values with rawurlencode() before appending them to the query string (GitHub Advisory, Fix Commit).

Impact

Successful exploitation allows an unauthenticated network attacker to craft a signed URL that never expires, bypassing time-limited access controls enforced by Laravel's signed route mechanism. This can result in unauthorized access to resources protected by temporary signed URLs (e.g., password reset links, file download links, or invitation URLs), leading to low confidentiality and integrity impacts. Availability is not affected, and exploitation is constrained to applications that forward attacker-controlled input directly into signed URL generation (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, indicating very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a specific application pattern — the target application must forward attacker-influenced, numeric-keyed parameters directly into temporarySignedRoute() or signedRoute(), which limits the attack surface (GitHub Advisory, Feedly).

Exploitation steps

  1. Identify a vulnerable endpoint: Find a Laravel application that generates temporary signed URLs and passes user-supplied query parameters (e.g., from $request->query()) directly into temporarySignedRoute() or signedRoute() without filtering.
  2. Craft a malicious parameter: Prepare a numeric-keyed array entry whose value contains an expires field injection, such as 0 => 'expires=9999999999' (a far-future Unix timestamp).
  3. Trigger signed URL generation: Submit a request to the vulnerable endpoint with the crafted parameter so the application forwards it into the signed URL generator. Because the value is appended unencoded, the resulting URL contains ...&expires=<legitimate>&expires=9999999999.
  4. Use the manipulated URL: Present the signed URL to the application. PHP's query string parser reads the last expires value as authoritative, so the URL is treated as never expiring, while the HMAC signature (which covers the injected field) remains valid.
  5. Access protected resources: Use the non-expiring signed URL to access time-limited resources (e.g., password reset, file download) beyond their intended validity window (GitHub Advisory, Fix Commit).

Indicators of compromise

  • Network: HTTP requests to signed URL endpoints containing duplicate expires parameters in the query string (e.g., ?expires=<timestamp>&signature=<hash>&expires=<far_future_timestamp>).
  • Logs: Application access logs showing repeated use of the same signed URL well past its intended expiration time; requests with query strings containing expires= appearing more than once.
  • Application Behavior: Signed URL validation succeeding for URLs that should have expired; unexpected access to password reset, file download, or invitation endpoints using old links.

Mitigation and workarounds

Upgrade to Laravel framework 12.72.0 or 13.41.0 (or later), which apply rawurlencode() to numeric-keyed query parameters before appending them to signed URLs (GitHub Release v12.72.0, GitHub Advisory). As a workaround for applications that cannot immediately upgrade, avoid passing request-derived arrays to signed route generation; instead, pass only explicitly selected, string-keyed parameters to temporarySignedRoute() or signedRoute(). Auditing application code for any pattern that forwards $request->query() or similar user-controlled arrays directly into signed URL helpers is strongly recommended.

Community reactions

The vulnerability was reported by community contributor crynobone and remediated by the Laravel core team (taylorotwell) via PR #62401 merged on November 10, 2026. A follow-up PR (#62411) by GrahamCampbell was also merged to further prevent array expires parameters from bypassing signed URL expiration. A regression issue (#62416) was briefly reported after the fix but was subsequently resolved in PR #62417. Several downstream projects (e.g., hypervel/components, webregulate/sadlerstaxis) promptly bumped their Laravel framework dependency to incorporate the security fix (GitHub PR #62401).

Additional resources


Source: This report was generated using AI

Related Laravel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-142642MEDIUM5.4
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142644MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142643MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142647MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142645MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management