Incorrect Authorization Affecting backpack/crud package, versions >=6.0.0, <6.8.14>=7.0.0, <7.0.38


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-BACKPACKCRUD-19428003
  • published29 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

NewCVE-2026-54180  (opens in a new tab)
CWE-639  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade backpack/crud to version 6.8.14, 7.0.38 or higher.

Overview

backpack/crud is a package that helps you build an admin interface for your Eloquent models, using Laravel 5

Affected versions of this package are vulnerable to Incorrect Authorization in the Update, Delete, and Reorder processes, where query scopes registered via addClause or addBaseClause are not enforced. An attacker can modify or delete records belonging to other users or tenants by supplying the primary key of records that should be inaccessible to them.

Workaround

This vulnerability can be mitigated by adding explicit Gate or Policy checks in the update(), destroy(), and reorder() methods of the CrudController to ensure the authenticated user is authorized to act on the resolved record.

CVSS Base Scores

version 4.0
version 3.1