Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2592: CWE-284 Improper Access Control in zarinpal Zarinpal Gateway

0
High
VulnerabilityCVE-2026-2592cvecve-2026-2592cwe-284
Published: Tue Feb 17 2026 (02/17/2026, 04:35:45 UTC)
Source: CVE Database V5
Vendor/Project: zarinpal
Product: Zarinpal Gateway

Description

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.

AI-Powered Analysis

AILast updated: 02/17/2026, 05:28:49 UTC

Technical Analysis

The vulnerability CVE-2026-2592 affects the Zarinpal Gateway plugin for WooCommerce, a WordPress payment integration widely used for processing online payments. The core issue lies in the payment callback handler function 'Return_from_ZarinPal_Gateway', which does not properly validate that the authority token provided in the callback URL is linked to the specific order being updated. This improper access control (CWE-284) allows an attacker to reuse a valid authority token from a different transaction with the same payment amount to mark an order as paid without completing the actual payment process. The vulnerability is exploitable remotely without authentication or user interaction, but requires the attacker to obtain a valid authority token from a previous transaction. The CVSS 3.1 score of 7.7 reflects the high impact on integrity (unauthorized order status changes) and availability (potential disruption of order processing), with a network attack vector and high attack complexity. No patches are currently available, and no exploits have been observed in the wild, but the flaw presents a significant risk to e-commerce platforms relying on this plugin. The vulnerability could lead to financial losses, fraudulent order fulfillment, and reputational damage for affected merchants.

Potential Impact

For European organizations, especially those operating e-commerce platforms using WooCommerce with the Zarinpal Gateway plugin, this vulnerability poses a serious risk. Attackers could manipulate order statuses to mark unpaid orders as paid, resulting in unauthorized product shipments and financial losses. This undermines the integrity of transaction records and can disrupt business operations and customer trust. The availability of the service may also be affected if fraudulent transactions lead to operational complications or disputes. Given the widespread use of WooCommerce in Europe and the growing adoption of various payment gateways, organizations in sectors such as retail, digital goods, and services are particularly vulnerable. The lack of authentication and user interaction requirements lowers the barrier for exploitation, increasing the threat landscape. Additionally, regulatory compliance issues may arise if fraudulent transactions are not detected and mitigated promptly, potentially impacting GDPR obligations related to transaction data integrity and fraud prevention.

Mitigation Recommendations

Until an official patch is released, European organizations should implement the following specific mitigations: 1) Manually audit and enhance the payment callback handler code to enforce strict validation that the authority token corresponds exactly to the order being updated, rejecting any mismatched tokens. 2) Monitor transaction logs for anomalies such as multiple orders marked paid with identical authority tokens or suspicious payment patterns. 3) Restrict access to the callback URL by IP whitelisting or other network-level controls where feasible to limit exposure. 4) Implement additional verification steps in the order fulfillment process, such as cross-checking payment confirmations with the payment gateway directly before shipping goods. 5) Educate development and operations teams about the vulnerability to ensure rapid response once patches become available. 6) Consider temporarily disabling the Zarinpal Gateway plugin if the risk outweighs operational necessity until a secure version is deployed. 7) Engage with the plugin vendor and monitor official channels for updates and patches. These steps go beyond generic advice by focusing on code validation, monitoring, and operational controls tailored to this specific vulnerability.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-16T16:34:33.188Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6993f937d1735ca7311a09bf

Added to database: 2/17/2026, 5:14:31 AM

Last enriched: 2/17/2026, 5:28:49 AM

Last updated: 2/17/2026, 10:26:31 AM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats