{"items":[{"id":"NVI-00005690","kind":"vulnerability","title":"SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4mg9-vhxq-vm7j"],"plain_summary":"OSV carries this publisher advisory for laravel/framework, laravel/framework, illuminate/database, illuminate/database. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 8.40.0 for laravel/framework. Confirm the publisher’s latest guidance.","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 6.20.26 for laravel/framework. Confirm the publisher’s latest guidance.","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 8.40.0 for illuminate/database. Confirm the publisher’s latest guidance.","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 6.20.26 for illuminate/database. Confirm the publisher’s latest guidance.","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-98d17be4f67e04a9f76204fd3a1b30d2","url":"https://github.com/advisories/GHSA-4mg9-vhxq-vm7j","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-4mg9-vhxq-vm7j","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.671Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"technology":"laravel/framework","known_exclusions":[],"conditions_summary":"### Impact\n\nThose using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\n\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\n\nYou may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.\n","public_affected_ranges":["ECOSYSTEM: introduced 8.0.0; fixed 8.40.0"]},{"certainty":"source_listed","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"technology":"laravel/framework","known_exclusions":[],"conditions_summary":"### Impact\n\nThose using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\n\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\n\nYou may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.\n","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 6.20.26"]},{"certainty":"source_listed","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"technology":"illuminate/database","known_exclusions":[],"conditions_summary":"### Impact\n\nThose using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\n\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\n\nYou may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.\n","public_affected_ranges":["ECOSYSTEM: introduced 8.0.0; fixed 8.40.0"]},{"certainty":"source_listed","source_ids":["sr-98d17be4f67e04a9f76204fd3a1b30d2"],"technology":"illuminate/database","known_exclusions":[],"conditions_summary":"### Impact\n\nThose using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\n\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\n\nYou may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.\n","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 6.20.26"]}],"null_published_at":"2026-10-31T22:13:05.835Z","source_updated_at":"2024-12-02T05:40:15.245Z","source_disclosed_at":"2021-04-29T21:52:53.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.671Z"}],"next_cursor":null,"snapshot_revision":"42594"}