LiveActive security incident?Get immediate response
CVE Record

CVE-2026-2592: Zarinpal Gateway for WooCommerce <= 5.0.16 - Improper Access Control to Payment Status Update

The Zarinpal Gateway for WooCommerce plugin for WordPress is vulnerable to Improper Access Control to Payment Status Update in all versions up to and including 5.0.16. This is due to the payment callback handler 'Return_from_ZarinPal_Gateway' failing to validate that the authority token provided in the callback URL belongs to the specific order being marked as paid. This makes it possible for unauthenticated attackers to potentially mark orders as paid without proper payment by reusing a valid authority token from a different transaction of the same amount.

HighCVSS 7.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affects the Zarinpal Gateway for WooCommerce WordPress plugin through version 5.0.16. An unauthenticated attacker may be able to make an order appear paid without completing the correct payment, by reusing a valid payment authority token from another same-amount transaction. The business risk is fraudulent order fulfillment and reconciliation issues.

Executive priority

Treat as urgent for affected online stores because it can cause unpaid orders to be marked paid. Prioritize patching, payment reconciliation, and fraud review over general WordPress hardening tasks.

Technical view

The callback handler Return_from_ZarinPal_Gateway does not validate that the authority token in the callback URL belongs to the specific WooCommerce order being marked paid. CVSS is 7.7 high, with network access, no authentication, and high attack complexity. Sources reference WordPress plugin code locations and a WordPress.org changeset.

Likely exposure

Exposure is limited to WordPress/WooCommerce stores using the Zarinpal Gateway plugin at version 5.0.16 or earlier. Internet-facing checkout flows using this payment method are the relevant target surface.

Exploitation context

No CISA KEV listing is provided, and the source bundle does not state active exploitation. The attack requires a valid authority token from another transaction of the same amount, which raises complexity but does not require login.

Researcher notes

The key issue is authorization binding, not payment cryptography: the callback trusts an authority value without confirming it maps to the order being completed. Evidence is from the CVE description, Wordfence entry, plugin code references, and WordPress.org changeset.

Mitigation direction

  • Update the Zarinpal Gateway plugin to a vendor-fixed release newer than 5.0.16 when available.
  • Review the WordPress.org changeset and vendor guidance before deploying the fix.
  • Reconcile recent Zarinpal-paid WooCommerce orders against actual payment settlement records.
  • Increase review of same-amount orders and payment callbacks until patched.

Validation and detection

  • Inventory WooCommerce sites for the Zarinpal Gateway plugin.
  • Confirm whether installed versions are 5.0.16 or earlier.
  • Verify updated code binds the callback authority token to the specific order.
  • Compare WooCommerce paid orders with Zarinpal settlement records.
  • Check logs for unusual payment callbacks or repeated authority-token patterns.
Prepared
Confidence
high
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-284: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-2592 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.7CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H2.25.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.7High
CVSS 3.1 vector shape for CVE-2026-2592Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
zarinpalZarinpal Gateway0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-284 · source CWE mapping

Improper Access Control

Improper Access Control represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.