Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-21263

Laravel is a web application framework. Versions of Laravel before 6.2 ...

Overview

Published
19 Jan 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
2 OS packages
2 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

5.3 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Weakness: CWE-74, CWE-89

Affected packages · 2

Packages affected by CVE-2021-21263
EcosystemPackageVulnerableFixed in
Composer (PHP) illuminate/database >=7.0.0, <7.30.3>=8.0.0, <8.22.1>=6.0.0, <6.20.12 7.30.38.22.16.20.12
Composer (PHP) laravel/framework >=8.0.0, <8.22.1>=6.0.0, <6.20.11>=7.0.0, <7.30.2 8.22.16.20.117.30.2

Open a package to see all its vulnerabilities.

Operating systems · 6 fixes

debian 5 releases · 2 packages

fixed 5
php-illuminate-database php-laravel-framework
debian fixes for CVE-2021-21263
ReleasePackageFixed in
10 php-illuminate-database 5.7.27-1+deb10u1
11 php-laravel-framework 6.20.11+dfsg-1
12 php-laravel-framework 6.20.11+dfsg-1
13 php-laravel-framework 6.20.11+dfsg-1
14 php-laravel-framework 6.20.11+dfsg-1

echo 1 release · 1 package

fixed 1
php-laravel-framework
echo fixes for CVE-2021-21263
ReleasePackageFixed in
php-laravel-framework 6.20.11+dfsg-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.