Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/commerce
  4. ›
  5. CVE-2026-32272

CVE-2026-32272: Craft Commerce hasVariant/hasProduct Blind SQL Injection

April 14, 2026

  • Full database read access via blind SQL injection
  • Privilege escalation via security key extraction → forged admin sessions

References

  • github.com/advisories/GHSA-2453-mppf-46cj
  • github.com/advisories/GHSA-r54v-qq87-px5r
  • github.com/craftcms/commerce
  • github.com/craftcms/commerce/pull/4232
  • github.com/craftcms/commerce/releases/tag/5.6.0
  • github.com/craftcms/commerce/security/advisories/GHSA-r54v-qq87-px5r
  • nvd.nist.gov/vuln/detail/CVE-2026-32272

Code Behaviors & Features

Detect and mitigate CVE-2026-32272 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 starting from 5.0.0 before 5.6.0

Fixed versions

  • 5.6.0

Solution

Upgrade to version 5.6.0 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/craftcms/commerce/CVE-2026-32272.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:04 +0000.