backpack/crud: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)

Summary

CVECVE-2026-54182
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-14 18:17:53 UTC
Updated2026-09-14 19:17:30 UTC
Descriptionbackpack/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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED8.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report