{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.11.2"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.6.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "03fe68b8a09d05b028c510411b55af6cea6a089a"
            },
            {
              "introduced": "266ccfd800264c4a0a7c22447112c097b0af7bae"
            },
            {
              "fixed": "bccb7fd016038ccd5ae4dd74fbc4d704ca81e4f0"
            },
            {
              "fixed": "fe70f81138ff3730feb4d827ac4641fb6dfd51d4"
            },
            {
              "fixed": "a7d365cc33dc4c60c543defb3458bcdb5749bc13"
            },
            {
              "fixed": "df22c4f9c4ea7fb7857d833f755e49ea6f9f5bb5"
            }
          ],
          "repo": "https://github.com/craftcms/commerce",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h5gm-x9wr-vhcm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-307"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55795.json"
  },
  "details": "Craft Commerce is an ecommerce platform for Craft CMS. From 4.0.0 until 4.11.2 and 5.6.5, CartController in src/controllers/CartController.php activates its RateLimiter only when the number POST or GET parameter is supplied. An unauthenticated attacker can submit couponCode values to actionUpdateCart for the session-based cart while omitting number, preventing creation of the IP rate-limit identity and allowing unlimited automated coupon-code guessing and enumeration. This issue is fixed in versions 4.11.2 and 5.6.5.",
  "id": "CVE-2026-55795",
  "modified": "2026-09-16T03:30:17.679673959Z",
  "published": "2026-09-14T15:55:14Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/craftcms/commerce/releases/tag/4.11.2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/craftcms/commerce/releases/tag/5.6.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55795.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/commerce/security/advisories/GHSA-h5gm-x9wr-vhcm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55795"
    },
    {
      "type": "FIX",
      "url": "https://github.com/craftcms/commerce/commit/a7d365cc33dc4c60c543defb3458bcdb5749bc13"
    },
    {
      "type": "FIX",
      "url": "https://github.com/craftcms/commerce/commit/df22c4f9c4ea7fb7857d833f755e49ea6f9f5bb5"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Craft Commerce: Coupon Code Brute-Force via Rate Limit Bypass"
}