CVE-2026-142647: Laravel Temporary Signed URL Expiration Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-6rv8-qj5v-p8ch
CVSS 4.8
CWE-613
Published
Advisory Summary

CVE-2026-142647 is a MODERATE (CVSS 4.8) temporary signed url expiration bypass vulnerability (CWE-613: Insufficient Session Expiration) affecting Laravel libraries in the Packagist ecosystem. The issue involves temporary signed url expiration bypass via unencoded numeric-keyed route parameters. Remediation is available by upgrading affected packages to version 12.72.0, 13.41.0.

CVE-2026-142647 at a Glance

CVE Identifier CVE-2026-142647
GHSA Identifier GHSA-6rv8-qj5v-p8ch
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Laravel
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-142647

To remediate this vulnerability, upgrade all affected Laravel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

laravel/framework fixed: 12.72.0
Upgrade laravel/framework to 12.72.0
laravel/framework fixed: 13.41.0
Upgrade laravel/framework to 13.41.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for laravel/framework

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-142647, inspect your project dependencies for Laravel:

inspect dependencies for laravel/framework

Analyze the terminal output to locate any version of Laravel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.72.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Laravel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-142647 Affected Laravel Versions

2 component(s)
Fixed Versions:
12.72.013.41.0
Product / Package Ecosystem Affected Versions Fixed Version
laravel/framework
Packagist
< 12.72.0
12.72.0
laravel/framework
Packagist
≥ 13.0.0
< 13.41.0
13.41.0

References

Frequently Asked Questions

What is CVE-2026-142647?
CVE-2026-142647 is a security vulnerability in Laravel involving Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters under CWE-613: Insufficient Session Expiration.
Which Laravel versions are affected?
Affected versions include releases prior to 12.72.0, 13.41.0 across affected packages: laravel/framework.
What version fixes CVE-2026-142647?
Upgrading to 12.72.0, 13.41.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is laravel/framework affected?
Yes, laravel/framework is affected in releases prior to 12.72.0, 13.41.0. Upgrade your dependency to 12.72.0, 13.41.0 or later.
What is the CVSS score of CVE-2026-142647?
CVE-2026-142647 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-142647?
CVE-2026-142647 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check Packagist dependencies for CVE-2026-142647?
Run the dependency tree command: 'inspect dependencies for laravel/framework'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6rv8-qj5v-p8ch",
  "modified" : "2026-12-03T18:00:58Z",
  "published" : "2026-12-03T18:00:58Z",
  "aliases" : [ "CVE-2026-142647" ],
  "summary" : "Laravel: Temporary signed URL expiration bypass via unencoded numeric-keyed route parameters",
  "details" : "### Impact\n\nWhen 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.\n\n### Patches\n\nThis 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.\n\n### Workarounds\n\nDo not pass request-derived arrays to signed route generation. Pass only explicitly selected, string-keyed parameters.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.72.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.41.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/security/advisories/GHSA-6rv8-qj5v-p8ch"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-142647"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/pull/62401"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/commit/9c4b57b7d53a5f2f69874654f2b430d3b9238f82"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/commit/aa9deaa76986a3745e0a924db9d09e1ca4e3f70d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/laravel/framework"
  }, {
    "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-613" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-03T18:00:58Z",
    "nvd_published_at" : "2026-12-02T23:18:43Z"
  }
}