Laravel relationship inclusion can trigger unauthorized data destruction
A vulnerability in how relationship inclusion is processed on certain read endpoints. Under specific conditions, a request to a read-only endpoint can be crafted to trigger a destructive database operation on a related table, rather than simply retrieving data. ### Impact A user with only read access could cause irrev…
As published by the sources
Affected packages
- Affected
>=12.45.0,<12.68.0 || >=13.0.0,<13.27.0Fixed in12.68.013.27.0
Derived from the fixed versions above
What to do
Upgrade laravel/framework to the fixed version in your release line: 12.68.0, 13.27.0.
composer update laravel/framework --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
A vulnerability in how relationship inclusion is processed on certain read endpoints. Under specific conditions, a request to a read-only endpoint can be crafted to trigger a destructive database operation on a related table, rather than simply retrieving data.
Impact
A user with only read access could cause irreversible data loss (e.g., a related table being emptied), without needing any write permissions. This could result in denial of service and loss of data integrity for affected applications.
References
- Advisoryhttps://github.com/advisories/GHSA-5wcm-3v2w-8362
- Webhttps://github.com/laravel/framework/security/advisories/GHSA-5wcm-3v2w-8362
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-114508
- Webhttps://github.com/laravel/framework/pull/61322
- Webhttps://github.com/laravel/framework/pull/61323
- Webhttps://github.com/laravel/framework/commit/50a7970efe9f9990b6ec4f1e949de2abaaf4263e
- Webhttps://github.com/laravel/framework/commit/b89f2944995d555bfda76dced1ef6c6b04ef17d8
- Packagehttps://github.com/laravel/framework
- Webhttps://github.com/laravel/framework/releases/tag/v12.68.0
- Webhttps://github.com/laravel/framework/releases/tag/v13.27.0