Advisory record · GHSA-wq8p-mqvg-2p5h

laravel framework SQL Injection via limit and offset functions

No CVSS score

Published by the GitHub Advisory Database at 15 May 2024, 22:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
laravel/frameworkPackagist>=6.0.0, <6.20.26 || >=7.0.0, <7.30.5 || >=8.0.0, <8.40.06.20.26, 7.30.5, 8.40.0
Identifiers
GHSA-wq8p-mqvg-2p5h · PKSA-gf52-cc16-7thv
Weakness (CWE)
CWE-89
Published
15 May 2024
Updated
29 Nov 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Laravel framework versions 6.0.0 to before 6.20.26, 7.0.0 to before 7.30.5, and 8.0.0 to before 8.40.0 are vulnerable to SQL injection through the limit and offset functions when used with SQL Server. Other database drivers such as MySQL and Postgres are not affected. Upgrade to 6.20.26, 7.30.5, or 8.40.0; as a workaround, ensure only integers are passed to limit, offset, skip, and take.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.