backpack/crud: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)
Summary
| CVE | CVE-2026-54182 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-14 18:17:53 UTC |
| Updated | 2026-09-14 19:17:30 UTC |
| Description | backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. Prior to 4.1.70, 5.6.2, 6.8.13, and 7.0.36, Backpack\CRUD\Stats::makeCurlRequest in src/Stats.php is reached from BackpackServiceProvider::boot() and constructs a shell command with a URL influenced by the HTTP Host header, which it passes to exec() without adequate shell neutralization. An unauthenticated attacker whose malformed Host value reaches PHP can inject operating-system commands when exec() and curl are available and the 1-in-100 random gate is reached. Repeated requests can reach the random gate. Successful exploitation executes commands as the web-server user, exposing environment secrets, files, and reachable services and permitting data modification or service disruption. Common reverse-proxy Host validation and hardened PHP configurations that disable exec() reduce reachability but do not correct the vulnerable construction. This issue is fixed in versions 4.1.70, 5.6.2, 6.8.13, and 7.0.36. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-20 | CWE-78 | CWE-116 | CWE-20 CWE-20: Improper Input Validation | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | CWE-116 CWE-116: Improper Encoding or Escaping of Output
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Laravel-Backpack | CRUD | affected < 4.1.70 | Not specified |
| CNA | Laravel-Backpack | CRUD | affected >= 5.0.0, < 5.6.2 | Not specified |
| CNA | Laravel-Backpack | CRUD | affected >= 6.0.0, < 6.8.13 | Not specified |
| CNA | Laravel-Backpack | CRUD | affected >= 7.0.0, < 7.0.36 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Laravel-Backpack/CRUD/releases/tag/6.8.13 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/471935e296b1be1a7216fdf10c8823e1... | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/releases/tag/5.6.2 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/0f2faafc22a15d77c14370f163d8f739... | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/releases/tag/7.0.36 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/1476a3769d94a410a2d2e9576deb522e... | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/releases/tag/4.1.72 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mrc5-3mm3-45c5 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/pull/6012 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/282ba2a0b88749fb1888b3836678ba46... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.