Shopper is a Headless e-commerce Admin Panel. Prior to 2.9.0, the /cpanel/discounts administrative interface accepts negative fixed_amount discount values, persists them in sh_discounts, and passes them through vendor/shopper/cart/src/Discounts/DiscountCalculator.php and vendor/shopper/cart/src/Pipelines/Calculate.php without enforcing a positive-value invariant. Because the calculation subtracts discountTotal from the subtotal, a negative discount increases the resulting order total instead of reducing it. Malformed discount records can therefore cause incorrect pricing and financial data integrity failures, although the advisory does not establish a customer-facing exploitation path. This issue is fixed in version 2.9.0.
CVE-2026-56831
This medium-severity CVE scores 6.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 65% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EG Risk
- 45(Track)EG Risk 45/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 35%
- KEV
- Not listed
Published
September 11, 2026
Last Modified
September 16, 2026
Advisory Details (4)
Auto-updated Sep 15, 2026v2.9.0
Patch available: shopperlabs/shopper v2.9.0
https://github.com/shopperlabs/shopper/releases/tag/v2.9.0commit 967e616281de (shopperlabs/shopper)
Patch available: shopperlabs/shopper v2.9.0 (contains commit 967e616281de)
https://github.com/shopperlabs/shopper/commit/967e616281ded1a0050d9102858ecd7dd7f66a41fix(discounts): enforce positive discount values across all layers
Patch available: shopperlabs/shopper v2.9.0 (PR #528 merged 2026-06-08)
https://github.com/shopperlabs/shopper/pull/528Negative discount values accepted and propagated through order calculation pipeline · Advisory · shopperlabs/shopper · GitHub
https://github.com/shopperlabs/shopper/security/advisories/GHSA-5vf4-452p-jjhfVendor Advisories for CVE-2026-56831(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| shopper/framework | v2.0.0 ... v2.8.1 (61 versions) | 2.9.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-20 09:30 UTCEG score recompute
- 2026-09-19 10:59 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 12:30 UTCEG score recompute
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 15:30 UTCEG score recompute
- 2026-09-16 14:52 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-15 18:36 UTCEG score recompute
- 2026-09-11 22:24 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-20
Frequently asked(5)
What is CVE-2026-56831?
When was CVE-2026-56831 disclosed?
Is CVE-2026-56831 actively exploited?
What is the CVSS score of CVE-2026-56831?
How do I remediate CVE-2026-56831?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-56831
Is Your Infrastructure Affected by CVE-2026-56831?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.