Skip to main content
Vulnerability Database/CVE-2026-104118

CVE-2026-104118: Razorpay WooCommerce Auth Bypass Vulnerability

CVE-2026-104118 is an authentication bypass flaw in Razorpay for WooCommerce that lets unauthenticated attackers modify shipping details on any order. This article covers the technical details, security impact, and steps to protect your site.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104118 Overview

CVE-2026-104118 is a broken access control vulnerability in the Razorpay for WooCommerce WordPress plugin before version 4.8.8. The plugin exposes a REST API route used during checkout without performing ownership or authorization checks. Unauthenticated attackers can abuse this route to modify shipping information stored on arbitrary WooCommerce orders. The flaw is categorized under [CWE-639] Authorization Bypass Through User-Controlled Key.

Critical Impact

Unauthenticated attackers can tamper with shipping details on any WooCommerce order processed through the Razorpay plugin, enabling order redirection and fraud against merchants and customers.

Affected Products

  • Razorpay for WooCommerce WordPress plugin versions prior to 4.8.8
  • WooCommerce storefronts using the Razorpay payment gateway
  • WordPress installations with the vulnerable plugin active

Discovery Timeline

  • 2026-10-04 - CVE-2026-104118 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-104118

Vulnerability Analysis

The Razorpay for WooCommerce plugin registers a REST API endpoint invoked during the checkout flow to update order metadata, including shipping address fields. The route lacks a permission_callback that validates whether the requester owns or is authorized to modify the targeted order. Any unauthenticated client that can reach the WordPress site can call the route with an arbitrary order identifier and overwrite the stored shipping information.

Because only the integrity of shipping data is impacted, confidentiality and availability are not directly affected. However, altered shipping addresses can divert fulfilled goods to attacker-controlled destinations, undermining merchant operations and customer trust.

Root Cause

The root cause is missing authorization enforcement on a REST API route. The handler accepts an order ID as a user-controlled key and acts on it without verifying session ownership, nonce validity, or capability checks. This pattern aligns with [CWE-639] Authorization Bypass Through User-Controlled Key.

Attack Vector

Exploitation requires only network access to the WordPress REST API. An attacker enumerates or guesses WooCommerce order IDs and issues HTTP requests to the vulnerable checkout route with modified shipping payloads. No authentication, user interaction, or elevated privileges are required.

No verified proof-of-concept code is published. Technical specifics are documented in the WPScan Vulnerability Report.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-104118

Indicators of Compromise

  • Unexpected modifications to shipping address fields on WooCommerce orders without a corresponding authenticated customer or admin session.
  • Access log entries showing unauthenticated POST or PUT requests to Razorpay plugin REST routes under /wp-json/.
  • Order audit history entries referencing the Razorpay checkout handler updating orders that are already in a paid or processing state.

Detection Strategies

  • Review WooCommerce order change logs for shipping address updates that occur outside the normal checkout window.
  • Correlate web server access logs with order metadata changes to identify requests from IPs that never completed an authenticated session.
  • Deploy WAF rules that inspect REST API calls to Razorpay plugin routes and flag requests missing valid WooCommerce session cookies or nonces.

Monitoring Recommendations

  • Enable verbose logging on the WordPress REST API and forward logs to a centralized analytics platform for anomaly detection.
  • Alert on bulk sequential access to order IDs, which indicates enumeration attempts against the vulnerable endpoint.
  • Monitor outbound fulfillment data for shipping addresses that differ from the originally submitted customer address.

How to Mitigate CVE-2026-104118

Immediate Actions Required

  • Upgrade the Razorpay for WooCommerce plugin to version 4.8.8 or later on all WordPress sites.
  • Audit recent orders for unauthorized shipping address changes and hold shipments pending verification.
  • Restrict access to the WordPress REST API from untrusted networks where feasible.

Patch Information

The vendor addressed the issue in Razorpay for WooCommerce version 4.8.8 by adding proper authorization checks to the affected checkout REST route. Site administrators should apply the update through the WordPress plugin manager or by deploying the latest release package. Refer to the WPScan Vulnerability Report for advisory details.

Workarounds

  • Temporarily deactivate the Razorpay for WooCommerce plugin until the patch is applied if the store can tolerate payment downtime.
  • Deploy a WAF rule to block unauthenticated requests to the plugin's checkout REST route.
  • Implement server-side validation that rejects shipping updates on orders already marked as processing, completed, or shipped.
bash
# Example WAF rule concept (ModSecurity) to block unauthenticated access
# to Razorpay plugin REST routes
SecRule REQUEST_URI "@rx /wp-json/.*razorpay.*" \
    "id:1041180,\
    phase:1,\
    deny,\
    status:403,\
    chain,\
    msg:'CVE-2026-104118 - Block unauthenticated Razorpay REST access'"
    SecRule &REQUEST_COOKIES:wordpress_logged_in "@eq 0"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.