Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopper/framework
  4. ›
  5. CVE-2026-56829

CVE-2026-56829: Shopper: Unauthorized inventory stock manipulation via unlocked variant property in VariantStock component

September 11, 2026

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.

References

  • github.com/advisories/GHSA-g3f9-g5vj-p62f
  • github.com/shopperlabs/shopper/security/advisories/GHSA-g3f9-g5vj-p62f
  • nvd.nist.gov/vuln/detail/CVE-2026-56829

Code Behaviors & Features

Detect and mitigate CVE-2026-56829 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.9.2

Fixed versions

  • 2.9.2

Solution

Upgrade to version 2.9.2 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

packagist/shopper/framework/CVE-2026-56829.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 12 Sep 2026 00:19:15 +0000.