Description
Laravel is a web application framework. From 12.45.0 until 12.68.0 and 13.27.0, crafted relationship inclusion on a read-only endpoint can trigger a destructive database operation on a related table instead of retrieving data. A user with read access but no write permission can empty related-table data, causing irreversible data loss, denial of service, and loss of data integrity. This issue is fixed in versions 12.68.0 and 13.27.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| laravel | framework | >= 12.45.0, < 12.68.0, >= 13.0.0, < 13.27.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-laravel-framework | 13.31.0+dfsg-1 | — |
| Debian 13 | php-laravel-framework | No fix yet | — |
| Debian 12 | php-laravel-framework | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | laravel/framework | >= 12.45.0, < 12.68.0 | 12.68.0 | GHSA-5wcm-3v2w-8362 |
| Packagist | laravel/framework | >= 13.0.0, < 13.27.0 | 13.27.0 | GHSA-5wcm-3v2w-8362 |
Advisories 1
- WID-SEC-2026-4046 Laravel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 22, 2026
References
- https://github.com/laravel/framework/security/advisories/GHSA-5wcm-3v2w-8362
- https://github.com/laravel/framework/pull/61322
- https://github.com/laravel/framework/pull/61323
- https://github.com/laravel/framework/commit/50a7970efe9f9990b6ec4f1e949de2abaaf4263e
- https://github.com/laravel/framework/commit/b89f2944995d555bfda76dced1ef6c6b04ef17d8
- https://github.com/laravel/framework/releases/tag/v12.68.0
- https://github.com/laravel/framework/releases/tag/v13.27.0