Skip to main content

CVE-2026-54182 — Vulnerability in backpack/crud — CVE Details

HIGH

Laravel Backpack CRUD: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)

Published August 20, 2026Updated August 20, 2026Source: OSV

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.

Check my composer.lock

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

BranchVulnerable rangeFirst safe version
4.1.x< 4.1.704.1.70
5.x< 5.6.25.6.2
6.x< 6.8.136.8.13
7.x< 7.0.367.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
Update backpack/crud to 6.8.13 or later
composer require "backpack/crud:^6.8.13"
Composer
Update backpack/crud to 4.1.72 or later
composer require "backpack/crud:^4.1.72"
Composer
Update backpack/crud to 7.0.36 or later
composer require "backpack/crud:^7.0.36"
Composer
Update backpack/crud to 5.6.2 or later
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).

PackageFixed 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.

  • CWE-116
    Improper Encoding or EscapingMITRE
  • CWE-20
    Improper Input ValidationMITRE
  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

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

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

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.78%
EPSS percentile: 52.4

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

GHSA-mrc5-3mm3-45c5

Related CVEs

  • CVE-2026-103035
    HIGH

    TeamPass folder re-parenting authorization bypass

  • CVE-2026-54178
    HIGH

    Laravel Backpack CRUD: Arbitrary file deletion via attacker-controlled clear_<attr>[] in HasUploadFields::uploadMultipleFilesToDisk

  • CVE-2026-110782
    HIGH

    SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock