backpack/crud
Affected
- introduced
6.0.0, fixed6.8.14(ecosystem)
Fixed versions
6.8.14
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-54176
Laravel Backpack CRUD: MyAccountController allows changing the login email without a current-password check
Summary
MyAccountController::postAccountInfoForm allows an authenticated user to update
the authentication column (default: email) without verifying their current password.
Because email is the account-recovery anchor, this enables account takeover after
the attacker's session ends: the new email address can be used to request a password
reset from outside the system.
The password-change endpoint in the same controller correctly requires old_password
verification, so the gap is asymmetric.
Details
The postAccountInfoForm action passes $request->validated() directly to$user->update(). The AccountInfoRequest whitelists the authentication column
(email by default) with no ownership challenge. Contrast this withChangePasswordRequest, which uses Hash::check against the stored password before
allowing any change.
Scenarios where this is exploitable include:
Patch
Fixed in #5990 — the
authentication column is now protected by a current_password check (mirroringChangePasswordRequest) whenever its value changes.
A stronger mitigation — sending a verification link to the new address before
persisting the change — can be layered on top using Laravel's MustVerifyEmail flow.
Affected versions
All versions prior to 6.8.14 / 7.0.38.
Fixed versions
Medium Basis: The source's own band: MODERATE
6.0.0, fixed 6.8.14 (ecosystem)6.8.14
The export has no generic command for this ecosystem.
7.0.0, fixed 7.0.38 (ecosystem)7.0.38
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0