Skip to main content
Menu
Advisories

Laravel relationship inclusion can trigger unauthorized data destruction

GHSA-5WCM-3V2W-8362Published Updated GitHub

Description

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.

Affected versions

References