laravel CVE Vulnerabilities & Metrics

Focus on laravel vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About laravel Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with laravel. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total laravel CVEs: 15
Earliest CVE date: 29 May 2017, 22:29 UTC
Latest CVE date: 25 Apr 2023, 19:15 UTC

Latest CVE reference: CVE-2022-40482

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 0

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): -100.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): -100.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical laravel CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 4.04

Max CVSS: 7.5

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 4
4.0-6.9 10
7.0-8.9 1
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS laravel CVEs

These are the five CVEs with the highest CVSS scores for laravel, sorted by severity first and recency.

All CVEs for laravel

CVE-2022-40482 laravel vulnerability CVSS: 0 25 Apr 2023, 19:15 UTC

The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing attacks with HTTP/2 multiplexing. This is caused by the early return inside the hasValidCredentials method in the Illuminate\Auth\SessionGuard class when a user is found to not exist.

CVE-2021-28254 laravel vulnerability CVSS: 0 19 Apr 2023, 00:15 UTC

A deserialization vulnerability in the destruct() function of Laravel v8.5.9 allows attackers to execute arbitrary commands.

CVE-2022-2886 laravel vulnerability CVSS: 0 19 Aug 2022, 12:15 UTC

A vulnerability, which was classified as critical, was found in Laravel 5.1. Affected is an unknown function. The manipulation leads to deserialization. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-206688.

CVE-2022-2870 laravel vulnerability CVSS: 0 17 Aug 2022, 19:15 UTC

A vulnerability was found in laravel 5.1 and classified as problematic. This issue affects some unknown processing. The manipulation leads to deserialization. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-206501 was assigned to this vulnerability.

CVE-2020-19316 laravel vulnerability CVSS: 6.8 20 Dec 2021, 20:15 UTC

OS Command injection vulnerability in function link in Filesystem.php in Laravel Framework before 5.8.17.

CVE-2021-43808 laravel vulnerability CVSS: 4.3 08 Dec 2021, 00:15 UTC

Laravel is a web application framework. Laravel prior to versions 8.75.0, 7.30.6, and 6.20.42 contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched in versions 8.75.0, 7.30.6, and 6.20.42 by determining the parent placeholder at runtime and using a random hash that is unique to each request.

CVE-2021-43617 laravel vulnerability CVSS: 7.5 14 Nov 2021, 16:15 UTC

Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. NOTE: this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.

CVE-2021-21263 laravel vulnerability CVSS: 5.0 19 Jan 2021, 20:15 UTC

Laravel is a web application framework. Versions of Laravel before 6.20.11, 7.30.2 and 8.22.1 contain a query binding exploitation. This same exploit applies to the illuminate/database package which is used by Laravel. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.

CVE-2020-24941 laravel vulnerability CVSS: 4.3 04 Sep 2020, 02:15 UTC

An issue was discovered in Laravel before 6.18.35 and 7.x before 7.24.0. The $guarded property is mishandled in some situations involving requests with JSON column nesting expressions.

CVE-2020-24940 laravel vulnerability CVSS: 4.3 04 Sep 2020, 02:15 UTC

An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database in some situations in which table names are stripped during a mass assignment.

CVE-2018-6330 laravel vulnerability CVSS: 6.5 28 Mar 2019, 16:29 UTC

Laravel 5.4.15 is vulnerable to Error based SQL injection in save.php via dhx_user and dhx_version parameters.

CVE-2018-15133 laravel vulnerability CVSS: 6.8 09 Aug 2018, 19:29 UTC

In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unserialize call on a potentially untrusted X-XSRF-TOKEN value. This involves the decrypt method in Illuminate/Encryption/Encrypter.php and PendingBroadcast in gadgetchains/Laravel/RCE/3/chain.php in phpggc. The attacker must know the application key, which normally would never occur, but could happen if the attacker previously had privileged access or successfully accomplished a previous attack.

CVE-2017-16894 laravel vulnerability CVSS: 5.0 20 Nov 2017, 01:29 UTC

In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwords) via a direct request for the /.env URI. NOTE: this CVE is only about Laravel framework's writeNewEnvironmentFileWith function in src/Illuminate/Foundation/Console/KeyGenerateCommand.php, which uses file_put_contents without restricting the .env permissions. The .env filename is not used exclusively by Laravel framework.

CVE-2017-14775 laravel vulnerability CVSS: 4.3 28 Sep 2017, 01:29 UTC

Laravel before 5.5.10 mishandles the remember_me token verification process because DatabaseUserProvider does not have constant-time token comparison.

CVE-2017-9303 laravel vulnerability CVSS: 5.8 29 May 2017, 22:29 UTC

Laravel 5.4.x before 5.4.22 does not properly constrain the host portion of a password-reset URL, which makes it easier for remote attackers to conduct phishing attacks by specifying an attacker-controlled host.