GHSA-xpv2-hrfc-hw62: Laravel Backpack CRUD: Unverified password change in MyAccountController via mass assignment
Summary
Laravel Backpack's MyAccountController has a security flaw where the account info endpoint uses mass assignment (a technique that automatically saves any form field matching the model's allowed columns) to update user data, including passwords, without requiring verification of the old password. This means an attacker with a stolen session can permanently change the victim's password and take over the account, bypassing the security check that the separate password-change endpoint enforces.
Solution / Mitigation
Replace `$request->except(['_token'])` with an explicit allowlist: `$data = $request->only([backpack_authentication_column(), 'name']); $result = $this->guard()->user()->update($data);` This ensures the account-info endpoint only updates name and email, forcing password changes through the dedicated change-password route that requires old password verification.
Vulnerability Details
EPSS: 0.0%
Yes
August 20, 2026
Classification
Affected Packages
Original source: https://github.com/advisories/GHSA-xpv2-hrfc-hw62
First tracked: August 20, 2026 at 08:01 PM
Classified by LLM (prompt v3) · confidence: 95%