2021-01-21: Unexpected bindings in QueryBuilder

unknown Affects illuminate/database, laravel/framework. Feed 2026.10.29.1, updated 2026-10-28.

Unexpected bindings in QueryBuilder

Package
illuminate/database Composer
Affected versions
>=6.0.0 and <6.20.14 or >=7.0.0 and <7.30.4 or >=8.0.0 and <8.24.0
Fixed in
6.20.14, 7.30.4, 8.24.0
Severity
unknown
Exploitation
not on CISA KEV
Source
friendsofphp

References

Unexpected bindings in QueryBuilder

Package
laravel/framework Composer
Affected versions
>=6.0.0 and <6.20.14 or >=7.0.0 and <7.30.4 or >=8.0.0 and <8.24.0
Fixed in
6.20.14, 7.30.4, 8.24.0
Severity
unknown
Exploitation
not on CISA KEV
Source
friendsofphp

References

NVD recordilluminate/database advisorieslaravel/framework advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories