CVE-2026-54176: Laravel Backpack CRUD MyAccountController Allows Changing The Login Vulnerability

MODERATE
Advisory Identifier: GHSA-9fw9-8c49-qch8
CVSS 6.5
CWE-287 CWE-620
Published
Advisory Summary

CVE-2026-54176 is a MODERATE (CVSS 6.5) myaccountcontroller allows changing the login vulnerability (CWE-287: Improper Authentication) affecting Laravel Backpack CRUD libraries in the Packagist ecosystem. The issue involves myaccountcontroller allows changing the login email without a current-password check. Remediation is available by upgrading affected packages to version 6.8.14, 7.0.38.

CVE-2026-54176 at a Glance

CVE Identifier CVE-2026-54176
GHSA Identifier GHSA-9fw9-8c49-qch8
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-287: Improper Authentication
Affected Product Laravel Backpack CRUD
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-54176

To remediate this vulnerability, upgrade all affected Laravel Backpack CRUD dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

backpack/crud fixed: 6.8.14
Upgrade backpack/crud to 6.8.14
backpack/crud fixed: 7.0.38
Upgrade backpack/crud to 7.0.38
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for backpack/crud

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-54176, inspect your project dependencies for Laravel Backpack CRUD:

inspect dependencies for backpack/crud

Analyze the terminal output to locate any version of Laravel Backpack CRUD in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.8.14), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Laravel Backpack CRUD, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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 with `ChangePasswordRequest`, which uses `Hash::check` against the stored password before allowing any change. Scenarios where this is exploitable include: - A brief unauthorized session (e.g. unattended workstation, XSS in the admin panel) - An insider/offboarding case where a departing admin sets a personal email address before access is revoked, then resets the password after leaving ## Patch Fixed in [#5990](https://github.com/Laravel-Backpack/CRUD/pull/5990) — the authentication column is now protected by a `current_password` check (mirroring `ChangePasswordRequest`) 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 - 6.x: 6.8.14 - 7.x: 7.0.38

CVE-2026-54176 Affected Laravel Backpack CRUD Versions

2 component(s)
Fixed Versions:
6.8.147.0.38
Product / Package Ecosystem Affected Versions Fixed Version
backpack/crud
Packagist
≥ 6.0.0
< 6.8.14
6.8.14
backpack/crud
Packagist
≥ 7.0.0
< 7.0.38
7.0.38

References

Frequently Asked Questions

What is CVE-2026-54176?
CVE-2026-54176 is a security vulnerability in Laravel Backpack CRUD involving MyAccountController allows changing the login email without a current-password check under CWE-287: Improper Authentication.
Which Laravel Backpack CRUD versions are affected?
Affected versions include releases prior to 6.8.14, 7.0.38 across affected packages: backpack/crud.
What version fixes CVE-2026-54176?
Upgrading to 6.8.14, 7.0.38 (or the latest patched release for your respective branch) resolves the vulnerability.
Is backpack/crud affected?
Yes, backpack/crud is affected in releases prior to 6.8.14, 7.0.38. Upgrade your dependency to 6.8.14, 7.0.38 or later.
What is the CVSS score of CVE-2026-54176?
CVE-2026-54176 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-54176?
CVE-2026-54176 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Packagist dependencies for CVE-2026-54176?
Run the dependency tree command: 'inspect dependencies for backpack/crud'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9fw9-8c49-qch8",
  "modified" : "2026-08-20T18:38:30Z",
  "published" : "2026-08-20T18:38:30Z",
  "aliases" : [ "CVE-2026-54176" ],
  "summary" : "Laravel Backpack CRUD: MyAccountController allows changing the login email without a current-password check",
  "details" : "## Summary\n\n`MyAccountController::postAccountInfoForm` allows an authenticated user to update\nthe authentication column (default: `email`) without verifying their current password.\nBecause email is the account-recovery anchor, this enables account takeover after\nthe attacker's session ends: the new email address can be used to request a password\nreset from outside the system.\n\nThe password-change endpoint in the same controller correctly requires `old_password`\nverification, so the gap is asymmetric.\n\n## Details\n\nThe `postAccountInfoForm` action passes `$request->validated()` directly to\n`$user->update()`. The `AccountInfoRequest` whitelists the authentication column\n(`email` by default) with no ownership challenge. Contrast this with\n`ChangePasswordRequest`, which uses `Hash::check` against the stored password before\nallowing any change.\n\nScenarios where this is exploitable include:\n- A brief unauthorized session (e.g. unattended workstation, XSS in the admin panel)\n- An insider/offboarding case where a departing admin sets a personal email address\n  before access is revoked, then resets the password after leaving\n\n## Patch\n\nFixed in [#5990](https://github.com/Laravel-Backpack/CRUD/pull/5990) — the\nauthentication column is now protected by a `current_password` check (mirroring\n`ChangePasswordRequest`) whenever its value changes.\n\nA stronger mitigation — sending a verification link to the new address before\npersisting the change — can be layered on top using Laravel's `MustVerifyEmail` flow.\n\n## Affected versions\n\nAll versions prior to 6.8.14 / 7.0.38.\n\n## Fixed versions\n\n- 6.x: 6.8.14\n- 7.x: 7.0.38",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "backpack/crud"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.8.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "backpack/crud"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.0.38"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-9fw9-8c49-qch8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Laravel-Backpack/CRUD/pull/5990"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Laravel-Backpack/CRUD"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-620" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-20T18:38:30Z",
    "nvd_published_at" : null
  }
}