Independent analysis by NHI Mgmt GroupSource article: Maze, “Maze Code found an account takeover bug in Saleor” (July 28, 2026)

TL;DR: Guest checkout flows can become account takeover paths when email confirmation alone is treated as proof of ownership, according to Maze, allowing an attacker to pre-register a victim’s address and inherit orders, gift cards, and stored payment details. Inbox access is not account ownership, so merge logic must bind confirmation to the original registrant or a password check.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Maze's report: Guest checkout account merging can be turned into account takeover when confirmation email clicks are treated as ownership proof.

Why it matters: This matters because customer identity controls, recovery flows, and order-linking logic can hand attackers real account data without requiring a login or password.


Context

Guest checkout systems often assume that email possession is enough to reconcile anonymous purchases with a registered account, but that assumption breaks when the same address can be claimed by someone else. The core governance problem is weak proof of intent at the moment guest data is converted into a persistent account record.

A public registration endpoint, inbox-based confirmation, and post-confirmation order merge form a single trust chain. If the merge is not bound to the original actor, the workflow becomes a takeover path rather than a convenience feature.


Key questions

Q: How should guest checkout account merging be secured?

A: Guest checkout merging should be gated by proof that the person confirming the account is also the person who initiated it. Email inbox access alone is not enough, because it only proves message delivery, not account ownership. The safest pattern is to separate activation from data transfer and require a stronger check, such as password re-entry or authenticated session binding, before guest orders or payment details move.

Q: Why does email confirmation create account takeover risk?

A: Email confirmation creates account takeover risk when proving control of an inbox is treated as proof of account ownership. If confirmation is allowed to bind a new account to an email already used by a guest checkout, an attacker who can intercept or claim that address can attach the order to their own account. A safer control is to require prior authentication or one-time proof tied to the original customer session.

Q: What is the safest way to link guest orders to a new account?

A: The safest way is to require the guest to authenticate to the same verified email or an existing account before any order is linked, rather than letting a fresh sign-up claim the order by email alone. Use a time-limited, single-use confirmation link, session binding, and a re-authentication step for the order owner before guest data is reassigned.

Q: What signs suggest a checkout flow is vulnerable to account takeover?

A: A checkout flow is vulnerable when a new account can claim guest purchases by email alone, especially if guest data being reassigned happens before the original owner is re-verified. Other signs are reusable confirmation links, no session binding, weak recovery controls, and order changes that can be triggered without prior authentication or a second factor.


Technical breakdown

Public registration creates the first takeover foothold

In this flow, anyone can submit a registration request with any email address and a chosen password. That creates an unconfirmed account state tied to the victim’s inbox, which is enough to trigger a confirmation message and establish a claim on the address. The weakness is not code injection or malformed input. It is that the workflow accepts an externally supplied email as the primary identifier for later account binding.

Practical implication: Treat open registration endpoints as identity entry points and require stronger ownership proof before any account state can be linked to guest data.

Email confirmation does not prove account ownership

A confirmation link only proves that someone can read the mailbox receiving the message. It does not prove that the click came from the person who initiated registration, nor does it prove control over the password that was set during signup. When systems use inbox access as the only trust signal, they confuse reachability with ownership and create a handoff condition an attacker can exploit at scale.

Practical implication: Require a second factor of intent, such as password re-entry or authenticated session binding, before account activation triggers any data merge.

Post-confirmation merge is the high-impact step

The final risk appears when a system attaches guest orders, gift cards, or payment methods to the newly confirmed account without re-validating the actor. At that point the attacker does not need to break cryptography or bypass authentication. The business rule itself transfers value on the strength of a weak trust decision made earlier in the flow.

Practical implication: Separate confirmation from asset transfer so that merge operations only occur after the claimant proves the account they are activating is genuinely theirs.


Threat narrative

Attacker objective: The attacker wants to convert a guest identity into a fully controlled account and absorb the victim’s stored commerce data and value-bearing balances.

  1. Entry begins when an attacker registers an account using the victim’s email address and a password they control.
  2. Credential access is unnecessary because the victim’s inbox becomes the only proof channel, and the confirmation link is sent there automatically.
  3. Escalation occurs when the victim clicks the link and the platform activates the attacker-controlled account without verifying who initiated registration.
  4. Impact follows when guest orders, gift cards, names, addresses, and payment methods are merged into the attacker’s account.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Email ownership is not account ownership: this vulnerability exposes a common CIAM failure mode where mailbox access is mistaken for identity proof. The system trusts the wrong event, so a confirmation click becomes a transfer of account authority rather than a simple activation step. That distinction matters whenever a guest journey can later reconcile to a persistent identity.

Guest-to-registered conversion is a governance boundary: once guest orders, gift cards, and payment methods can be reassigned, the flow has crossed from convenience into identity control. The merge step needs explicit ownership validation because it changes who can exercise value inside the account. Practitioners should treat any automatic merge as a privileged identity decision, not a routine UX feature.

Account takeover prevention for commerce must account for mailbox-only trust: attackers do not need malware or session theft when the workflow itself hands over the prize. account takeover prevention applies here because the exploit is a control failure in confirmation and recovery logic, not a technical crash. The practical lesson is to harden claim, confirm, and merge as one governed lifecycle.

AI-assisted code review can expose missing intent checks: Maze’s finding illustrates that secure code is not the same as secure behaviour. The vulnerable functions perform their intended operations correctly, but the business rule between them is wrong. That is exactly the kind of gap that reasoning-based review can surface, and the broader lesson is that identity flows need semantic validation, not just pattern matching.

Order-linking logic creates a new identity asset class: once commerce systems bind guest activity to a registered profile, they create a high-value identity pivot that attackers can target directly. The account now contains history, balances, and payment context that did not require a password to assemble. Practitioners should classify these merge paths as identity-sensitive controls and govern them accordingly.

What this signals

Confirmation-click abuse turns into governance debt when commerce platforms reuse the same email address as both delivery channel and identity anchor. Once guest orders can be promoted into a registered account without a stronger ownership check, the recovery and onboarding model has already failed. Practitioners should audit every place where a receipt, confirmation, or reset email can move data or privilege.

Mailbox possession is a weak trust primitive for identity conversion: the workflow should prove who is claiming the account, not just who can receive the message. That means the control point must move from inbox verification to state transition governance, especially where carts, gift cards, or stored payment details are involved.


For practitioners

  • Lock account merging behind proof of intent Require password re-entry or an authenticated session before any guest order, gift card, or payment method is linked to a newly confirmed account.
  • Separate confirmation from asset transfer Let email confirmation activate an account state, but defer all guest-data rebinds until a stronger ownership check has completed.
  • Review public registration and confirmation flows Map every endpoint that accepts an email address, then verify that the person who can trigger confirmation is also the person authorised to receive the merged data.
  • Add takeover-specific detection signals Alert on rapid registration, confirmation, and merge sequences for the same address, especially when the registration IP and confirmation session do not match.

Key takeaways

  • The vulnerability is a business-logic takeover path, not a broken authentication library or injection flaw.
  • Its impact is concrete: guest orders, gift cards, names, addresses, and payment methods can be reassigned to an attacker-controlled account.
  • The limiting control is stronger ownership proof before any merge, with account activation separated from value transfer.

Related NHI Mgmt Group resources: Account Takeover Prevention Guide · Secure Password Reset Flow Guide · Top 10 CIAM Security Risks · Gitloker GitHub extortion campaign


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationSaleor trusts email confirmation as ownership proof, which is an authentication weakness for a non-human mediated flow.
NHI-10 — Human Use of NHIThe exploit turns a routine email link into a human-mediated step that transfers account authority.
Recommendation — Require stronger ownership checks before confirmation can activate an account or transfer guest data. Separate human mailbox access from account authority and prevent confirmation clicks from moving value.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe issue is about when a credential-confirmation step can trigger account binding and data transfer.
Recommendation — Gate account activation and linking behind managed authenticator checks, not inbox access alone.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe merge changes permissions by moving guest assets into a registered identity without sufficient authorisation.
Recommendation — Review entitlement transitions so guest data cannot be reassigned without explicit authorisation.
MITRE ATT&CKTA0001;TA0006;TA0040 — Initial Access; Credential Access; ImpactThe attack path combines public registration, inbox control, and final account takeover impact.
Recommendation — Map the flow to initial access, credential access, and impact so detection focuses on the full chain.

Key terms

  • Account Takeover: Account takeover is unauthorized use of a legitimate account after an attacker obtains valid access through stolen credentials, tokens, or trusted integrations. The key security problem is that the resulting activity often looks normal to logs and controls, which makes containment and attribution harder than in a forced-entry breach.
  • Saleor account takeover vulnerability: A flaw in the Saleor guest checkout flow that lets an attacker claim a victim’s email address and inherit linked orders and value-bearing account data. The issue arises when confirmation proves inbox access but not account ownership, allowing a merge step to rebind guest assets to the attacker’s account.
  • Email Confirmation: Email confirmation is a verification step that checks control of an email address by sending a link or code to that inbox. It is commonly used for account sign-up, password reset and contact validation, but it proves mailbox access, not necessarily the person’s identity or entitlement to attach data to an account.
  • Order Merge: Order merge is the process of combining a guest order with an existing or newly created customer account. In commerce systems, it moves order history, shipping details and related records under one identity, so the merge logic must verify ownership before any guest data is reassigned.

Deepen your knowledge

NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore nhimg.org for resources that connect identity governance to the broader security disciplines your programme depends on.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org