# Shopper: Unauthorized inventory stock manipulation via unlocked variant property in VariantStock component

High severity, published 2026-09-11. Update shopper/framework to 2.9.2 or later: composer update shopper/framework.

Canonical URL: https://buzzphp.com/security/ghsa-g3f9-g5vj-p62f · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.1) |
| Published | 2026-09-11 |
| Updated | 2026-09-11 |
| CVE | [CVE-2026-56829](https://nvd.nist.gov/vuln/detail/CVE-2026-56829) |
| GHSA | [GHSA-g3f9-g5vj-p62f](https://github.com/advisories/GHSA-g3f9-g5vj-p62f) |
| Weakness | CWE-862 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| shopper/framework | < 2.9.2 | 2.9.2 |

## What to do

Update shopper/framework to 2.9.2 or later: composer update shopper/framework.

Check which version you run with `composer show shopper/framework`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-g3f9-g5vj-p62f on GitHub](https://github.com/advisories/GHSA-g3f9-g5vj-p62f)
- [CVE-2026-56829 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-56829)
- [All Composer security advisories](https://buzzphp.com/security)
