Low

Craft Commerce has an unauthenticated information disclosure that can leak some customer order data on anonymous payments

  • Disclosed: 14.04.2026
  • Updated: 11.10.2026 10:22

Summary

PaymentsController::actionPay discloses some order data to unauthenticated users when an order number is provided and the email check fails during an anonymous payment.

The JSON error response includes the serialized order object (order), which contains some sensitive fields such as customer email, shipping address, and billing address.

Details

I manually audited frontend payment flows and found that actionPay() retrieves orders by number before authorization is fully enforced.

Code path:

  1. Load order by number.
  2. Evaluate whether payment is authorized for completed orders (number + matching email).
  3. If unauthorized, return failure.
  4. Failure response still includes cartArray($order), which serializes sensitive order data.

Why is this a vulnerability?

  • Authorization logic says the requester is not allowed to pay for a completed order without an email.
  • But the response still returns the same completed order’s contents.

Impact

Type: Information Disclosure / Broken Access Control

Who is impacted:

  • Any Commerce deployment where completed order numbers can be obtained or leaked.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package craftcms/commerce >= 5.0.0, < 5.6.0, >= 4.0.0, < 4.11.0 5.6.0, 4.11.0

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Weakness (CWE)
CWE-200, CWE-862
Platform
Composer
Package
craftcms/commerce
Disclosed
14.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3vxg-x5f8-f5qf - CC BY 4.0

Vulnerability history: craftcms/commerce

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (21) in the archive
Total entries
21
First → latest
02.2026 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 13
  • Low 3

Disclosures per year

  1. 2026: 21
Severity:
  1. Craft Commerce has an unauthenticated information disclosure that can leak some customer order data on anonymous payments this entry
    Low CVE-2026-32270 >= 5.0.0, < 5.6.0, >= 4.0.0, < 4.11.0 5.6.0, 4.11.0
  2. High CVE-2026-32271 >= 4.0.0, < 4.10.3, >= 5.0.0, < 5.5.5 4.10.3, 5.5.5
  3. High CVE-2026-32272 >= 5.0.0, < 5.6.0 5.6.0
  4. High CVE-2026-29172 >= 4.0.0, < 4.10.2, >= 5.0.0, < 5.5.3 4.10.2, 5.5.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.