Intel

AIKIDO-2026-128384

drupal/commerce is vulnerable to Information Disclosure

CVE-2026-118540Published 3 days ago
November 6, 2026

48

CVE Score

Medium

Information Disclosure

Are you affected? Scan for Free

TL;DR

drupal/commerce exposes unpublished product variations through JSON:API to users who do not have permission to view them. A visitor can read variation data the site left unpublished. The fix limits those results to variations the current user can view.

How do I fix this?

Upgrade the drupal/commerce library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and JSON:API is enabled on a site with unpublished product variations.

Versions

1.0.0 - 2.40.0

Fixed in 2.41

3.0.0 - 3.3.12

Fixed in 3.3.13

Background info

drupal/commerce is vulnerable to Information Disclosure in versions 1.0.0 - 2.40.0 and 3.0.0 - 3.3.12.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea