CVE-2026-54182 — Vulnerability in backpack/crud — CVE Details
Laravel Backpack CRUD: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.78%). Schedule for your next planned update.
Does your project use an affected backpack/crud version?
Paste your composer.lock to check it for CVE-2026-54182 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
Backpack\CRUD\Stats::makeCurlRequest builds a shell command using unescaped input that originates from the HTTP Host header, then passes it to exec(). A specially crafted Host header can break out of the shell argument and cause the server to execute arbitrary OS commands as the web user.
The vulnerable code path is reached from BackpackServiceProvider::boot() on every HTTP request in production when exec() and curl are available. A 1-in-100 random gate is the only guard — an attacker can reliably trigger it by retrying.
Severity
High — CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Complexity is rated High because default nginx and Apache configurations typically strip or reject malformed Host headers before they reach PHP, and exec() is often disabled for web processes in hardened environments. Both mitigations must be absent for exploitation.
Impact
A successful exploit yields OS command execution as the web server user (www-data, nginx, etc.), giving an unauthenticated attacker access to environment secrets (APP_KEY, database credentials, API keys in .env), the filesystem, and any service the server can reach.
Fix
makeCurlRequest was replaced with the Guzzle-based path already present in the codebase, eliminating the shell-command construction entirely. Upgrade to a patched release immediately.
Affected versions
| Branch | Vulnerable range | First safe version |
|---|---|---|
| 4.1.x | < 4.1.70 | 4.1.70 |
| 5.x | < 5.6.2 | 5.6.2 |
| 6.x | < 6.8.13 | 6.8.13 |
| 7.x | < 7.0.36 | 7.0.36 |
Credits
Reported by Vishal Shukla (@shukla304) via sechub.dev AI Agent.
Advisory Timeline
- First published August 20, 2026 (98 days ago).
- Last revised August 20, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "backpack/crud:^6.8.13"
composer require "backpack/crud:^4.1.72"
composer require "backpack/crud:^7.0.36"
composer require "backpack/crud:^5.6.2"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| backpack/crud Packagist · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+115 more) | 6.8.13 |
| backpack/crud Packagist · Affected: 4.1.0, 4.1.1, 4.1.10, 4.1.11 (+68 more) | 4.1.72 |
| backpack/crud Packagist · Affected: 7.0.0, 7.0.1, 7.0.10, 7.0.11 (+32 more) | 7.0.36 |
| backpack/crud Packagist · Affected: 5.0.0, 5.0.1, 5.0.10, 5.0.11 (+68 more) | 5.6.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mrc5-3mm3-45c5WEB
- https://github.com/Laravel-Backpack/CRUDPACKAGE
- https://github.com/Laravel-Backpack/CRUD/releases/tag/4.1.72WEB
- https://github.com/Laravel-Backpack/CRUD/releases/tag/5.6.2WEB
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.13WEB
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.36WEB
Frequently Asked Questions
- What is CVE-2026-54182?
- Laravel Backpack CRUD: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth). This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-54182?
- CVE-2026-54182 affects backpack/crud. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54182 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 52.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-103035HIGH
TeamPass folder re-parenting authorization bypass
- CVE-2026-54178HIGH
Laravel Backpack CRUD: Arbitrary file deletion via attacker-controlled clear_<attr>[] in HasUploadFields::uploadMultipleFilesToDisk
- CVE-2026-110782HIGH
SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)