{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-24940","id":"CVE-2020-24940","title":"Guard bypass in Eloquent models affecting Laravel illuminate database component","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 in some situations in which table names are stripped during a mass assignment.","descriptionLong":"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.","published":"2020-09-04T01:28:09.000Z","updated":"2026-10-24T10:30:24.107504573Z","reserved":"2020-08-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"illuminate/database","purl":"pkg:composer/illuminate/database","ranges":[">=5.5.0 <=5.5.44",">=6.0.0 <6.18.34",">=7.0.0 <7.23.2"],"fixed":["6.18.34","7.23.2"],"advisory":"GHSA-c7rm-w2hj-x8g3"}],"cwes":["CWE-20"],"aliases":["BIT-laravel-2020-24940","GHSA-c7rm-w2hj-x8g3"],"references":[{"url":"https://blog.laravel.com/security-release-laravel-61834-7232","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24940","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2020-24940.yaml","tags":["web"]},{"url":"https://github.com/illuminate/database","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01203,"epssPercentile":0.68852,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-24940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24940","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-24940","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c7rm-w2hj-x8g3","ok":true,"note":"GHSA-c7rm-w2hj-x8g3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-24940","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}