Zarinpal Gateway for WooCommerce <= 5.0.16 - Improper Access Control to Payment Status Update
Strategic Overview
- Status
- Patched in 5.0.17
- Affected Version
<= 5.0.16- CVSS
- 7.7High
- Weakness type
- CWE-284 · Improper Access Control
- CVE
CVE-2026-2592
At a glance
CVE-2026-2592 is a high-severity Improper Access Control vulnerability in the افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce) WordPress plugin, affecting versions <= 5.0.16. It carries a CVSS score of 7.7 (reachable over the network; high integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 5.0.17; sites on affected versions should update now. Disclosed February 2026, reported by shark3y.
Vulnerability Overview
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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on integrity, availability.
CWE-284: Improper Access Control
افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce) <= 5.0.16 carries this weakness at Return_from_ZarinPal_Gateway, and reaching it takes a caller who can reach the endpoint. Improper access control means the code decides what a caller may do using something other than their actual permissions, so the decision can be wrong without any check appearing to be missing.
Whoever can shape the request decides the answer, so the protected action runs for callers the code never meant to allow. For افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce) the fix is 5.0.17: builds <= 5.0.16 are affected, anything from 5.0.17 onward is not.
Remediation
Update to version 5.0.17, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce) 5.0.17 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce)
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C