NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
HIGH severity

CVE-2020-24940 — database

HIGH

CVE-2020-24940 is a high-severity (CVSS 7.5) Improper Input Validation vulnerability in illuminate/database. A fix is available for illuminate/database — see the affected versions and patch details below.

Guard bypass in Eloquent models affecting Laravel illuminate database component

Also known asBIT-laravel-2020-24940GHSA-c7rm-w2hj-x8g3
Published
Updated
Affected
3 pkgs
Patched
2 / 3
Exploits
None indexed
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs68th percentile — riskier than 68% of all scored CVEsHighest risk
0.00%0.57%1.14%1.70%0.3%1.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected
🐘illuminate/database🐘illuminate/database🐘illuminate/database

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

3 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistilluminate/database≥ 5.5.0No fix
🐘Packagistilluminate/database≥ 6.0.0&&< 6.18.346.18.34composer require illuminate/database:^6.18.34
🐘Packagistilluminate/database≥ 7.0.0&&< 7.23.27.23.2composer require illuminate/database:^7.23.2

Affected Products

1 product · 2 configurations
Application
laravellaravel
≥ 7.0.0 && < 7.23.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for illuminate/database, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    A fix is available for CVE-2020-24940; check the affected-versions list above or the advisory for the patched release of illuminate/database, then make sure no transitive dependency still pins the vulnerable range.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database component in some situations in which table names are stripped during a mass assignment.
O3 Security · Impact-Aware SCA

Is CVE-2020-24940 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2020-24940: database — Fixed in 6.18.34