CVE-2020-24940: Guard bypass in Eloquent models affecting Laravel illuminate database component

high Affects illuminate/database. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

Guard bypass in Eloquent models affecting Laravel illuminate database component

Package
illuminate/database Composer
Affected versions
>=5.5.0 and <=5.5.44 or >=6.0.0 and <6.18.34 or >=7.0.0 and <7.23.2
Fixed in
6.18.34, 7.23.2
Severity
high  CVSS 7.5
Exploitation
not on CISA KEV · EPSS 1% (68.2th percentile)
Published
2022-05-24
Source
osv.dev

References

NVD recordilluminate/database 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