CVE-2026-54182
8.1Laravel-Backpack · CRUD
Laravel-Backpack CRUD is susceptible to unauthenticated OS command injection via the HTTP Host header in the Stats::makeCurlRequest function, potentially leading to full server compromise.
Executive summary
An unauthenticated remote code execution vulnerability in Laravel-Backpack CRUD allows attackers to inject operating system commands, posing a critical risk to server integrity and data confidentiality.
Vulnerability
The vulnerability exists in the Backpack\CRUD\Stats::makeCurlRequest function, which fails to properly neutralize input derived from the HTTP Host header before passing it to an exec() system call. An unauthenticated attacker can manipulate this header to execute arbitrary OS commands as the web server user.
Business impact
Successful exploitation grants the attacker the ability to execute commands with the privileges of the web server user. This can lead to the exfiltration of sensitive environment secrets, unauthorized modification of application data, or total service disruption. With a CVSS score of 8.1, this represents a high-severity risk that could lead to complete system compromise if the server environment is not strictly hardened.
Remediation
Immediate Action: Update the Laravel-Backpack CRUD package to version 4.1.72, 5.6.2, 6.8.13, 7.0.36, or newer immediately.
Proactive Monitoring: Monitor server access logs for suspicious HTTP Host headers containing shell metacharacters and review system logs for unexpected child processes spawned by the web server.
Compensating Controls: Implement strict HTTP Host header validation at the load balancer or reverse proxy level to reject malformed requests before they reach the application. Disabling the exec() function in the PHP configuration can also prevent this specific command injection vector.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the potential for remote code execution, this vulnerability should be treated as a priority for all administrators using the Laravel-Backpack CRUD package. Organizations must apply the specified security updates immediately to eliminate the underlying flaw in the command construction logic.
More Laravel-Backpack CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mrc5-3mm3-45c5
- https://github.com/Laravel-Backpack/CRUD/pull/6012
- https://github.com/Laravel-Backpack/CRUD/commit/0f2faafc22a15d77c14370f163d8f739f933c28c
- https://github.com/Laravel-Backpack/CRUD/commit/1476a3769d94a410a2d2e9576deb522e84002f2a
- https://github.com/Laravel-Backpack/CRUD/commit/282ba2a0b88749fb1888b3836678ba462d7023f0
- https://github.com/Laravel-Backpack/CRUD/commit/471935e296b1be1a7216fdf10c8823e1f512f601
- https://github.com/Laravel-Backpack/CRUD/releases/tag/4.1.72
- https://github.com/Laravel-Backpack/CRUD/releases/tag/5.6.2