packagist package report

Is backpack/crud safe?

11 known vulnerabilities, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    dependents not yet indexed for this ecosystem

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      7.6
      high

      CVSS v3.1 base score out of 10

      epss
      0.55%
      medium

      chance of exploitation in 30 days, 46th percentile of all CVEs

      xyz score
      3.4
      low

      CyberXYZ composite out of 10

      fig. 01 — GHSA-xpv2-hrfc-hw62, the advisory selected below

      // 11 advisories

      GHSA-xpv2-hrfc-hw62

      HIGHGitHub ratingCVE-2026-54175
      // summary

      The MyAccountController::postAccountInfoForm action bound to POST /admin/edit-account-info calls $this->guard()->user()->update($request->except(['_token'])). Because the controller uses except(['_token']) rather than $request->validated() or the restricted keys defined in AccountInfoRequest::validationData(), any column present in the user model's $fillable array is mass-assigned from the request, including password. Backpack ships a separate POST /admin/change-password route (postChangePasswordForm) that requires old_password verification via ChangePasswordRequest::withValidator. The edit-account-info endpoint silently bypasses that security control.

      For the default Laravel 11 App\Models\User model — which Backpack's installer and documentation use as the canonical admin user model — $fillable is ['name','email','password']. The password cast is hashed, so a plaintext password=… form field is automatically hashed and persisted. Any attacker holding an authenticated Backpack session (session theft, stolen cookies, XSS, public-terminal residual session) can permanently take over the account by issuing one POST that includes password=<attacker_value>, with no knowledge of the victim's current password. This converts time-limited, session-bound access into persistent account takeover.

      // vulnerable code

      src/app/Http/Controllers/MyAccountController.php:38

      public function postAccountInfoForm(AccountInfoRequest $request)
      {
          $result = $this->guard()->user()->update($request->except(['_token']));
          ...
      }

      src/app/Http/Requests/AccountInfoRequest.php validationData() only narrows what gets validated (name, email column) — it does NOT narrow what is later saved.

      // impact
      • Persistent account takeover after session theft. An adversary holding any authenticated Backpack session cookie (XSS, malware, stolen device, shared workstation) can rewrite the victim's password and retain access indefinitely, even after the original session expires or the victim logs out. Without this bypass the equivalent action requires old_password, which the adversary does not have.
      • Email pivot for full takeover. The same handler permits unverified change of the authentication column (email by default). A hijacked session can change the email to one the attacker controls and then use Backpack's password-reset flow as a backup channel.
      • Mass-assignment of any other $fillable attribute. In real deployments where the admin user model carries fields such as role_id, is_admin, team_id, email_verified_at, two_factor_secret, etc., the same request mass-assigns those fields. This expands the impact to privilege escalation and 2FA disablement on apps that follow standard Laravel patterns of adding such columns to $fillable.
      // fix recommendation

      Replace $request->except(['_token']) with an explicit allowlist that mirrors AccountInfoRequest::validationData():

      public function postAccountInfoForm(AccountInfoRequest $request)
      {
          $data = $request->only([backpack_authentication_column(), 'name']);
          $result = $this->guard()->user()->update($data);
          ...
      }

      This preserves change-password as the sole path for password mutation (which already enforces old_password).

      // coordinates
      • Repository: https://github.com/Laravel-Backpack/CRUD
      • Vulnerable file & line: src/app/Http/Controllers/MyAccountController.php:38 (release 6.8.10; master e7201c5)
      • Route: POST /admin/edit-account-info (default admin prefix; setup_my_account_routes=true)
      • Verified against: backpack/crud 6.8.10, laravel/framework 11.x, PHP 8.4.7

      — therawdev (responsible disclosure)

      Reported by AI Agent sechub.dev and Vishal Shukla (@shukla304)

      // cvss v3.1 vector

      CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

      Attack vector
      Network
      Attack complexity
      Low
      Privileges required
      Low
      User interaction
      None
      Scope
      Unchanged
      Confidentiality
      Low
      Integrity
      High
      Availability
      Low

      Checked 2026-11-07 at 21:47 UTC. The most recent advisory here was published 2026-08-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.