Intel

AIKIDO-2026-34071

solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow

GHSA-qwqm-3jx5-rr8mPublished Oct 9, 2026
October 9, 2026

53

CVE Score

Medium

Improper Enforcement of Behavioral Workflow

Are you affected? Scan for Free

TL;DR

Spree::Api::CheckoutsController#update_order_state sets @order.state directly from the client supplied params[:state] without checking that the order is in the target state or has already passed it. A caller can set an order's checkout state to skip steps such as payment or confirmation. The fix only applies the requested state when Spree::Api::Config.allow_arbitrary_state_in_checkout is enabled or the order has already passed that step, and otherwise responds with a 422 invalid state error.

How do I fix this?

Upgrade the solidus_api library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 4.6.3

Fixed in 4.6.4

4.7.0 - 4.7.1

Fixed in 4.7.2

Background info

solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow in versions 0.0.1 - 4.6.3 and 4.7.0 - 4.7.1.

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