# SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database

Source: https://junglewise.ai/threats/sql-server-limit-offset-sql-injection-in-laravel-framework-and-079ef7a6  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-04-29  
License: CC BY 4.0 with a link back

Severity: info · Published 2021-04-29

SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database

Technologies: [illuminate/database (Packagist)](https://junglewise.ai/threats/technologies/illuminate-database), [laravel/framework (Packagist)](https://junglewise.ai/threats/technologies/packagist-laravel-framework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 29 April 2021.

**Which products and versions are affected?** illuminate/database (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.40.0; laravel/framework (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.40.0.

**Is there a fix for This vulnerability?** Yes. illuminate/database (Packagist): upgrade to 8.40.0 or later; laravel/framework (Packagist): upgrade to 8.40.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run illuminate/database (Packagist) or laravel/framework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- illuminate/database (Packagist): upgrade to 8.40.0 or later

  ```sh
  composer require illuminate/database:^8.40.0
  ```

- laravel/framework (Packagist): upgrade to 8.40.0 or later

  ```sh
  composer require laravel/framework:^8.40.0
  ```


## Affected products

- illuminate/database (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.40.0
- laravel/framework (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.40.0

## Related threats

- [Laravel TokenGuard authentication bypass via non-string credential](https://junglewise.ai/threats/cve-2026-114509-laravel-is-a-web-application-framework-prior-to-12-68-0-and-13)
- [Laravel privilege escalation in read-only endpoints](https://junglewise.ai/threats/cve-2026-114508-laravel-is-a-web-application-framework-from-12-45-0-until-12-68)
- [Laravel: XSS in Debug Page Information](https://junglewise.ai/threats/cve-2026-102279-laravel-is-a-web-application-framework-prior-to-12-69-0-and-13)
- [Laravel CRLF injection in email validation](https://junglewise.ai/threats/cve-2026-48019-laravel-crlf-injection-in-email-validation)
- [Laravel framework susceptible to reflected cross-site scripting](https://junglewise.ai/threats/cve-2024-13918-laravel-framework-susceptible-to-reflected-cross-site-scripting)
