Published : December 3, 2026

CVE-2026-136988: Extra Product Options & Add-Ons for WooCommerce <= 7.6.2 Unauthenticated Arbitrary File Upload via 'wc_bookings_calculate_costs' AJAX Action PoC, Patch Analysis & Rule

Severity High (CVSS 8.1)
CWE 434
Vulnerable Version 7.6.2
Patched Version —
Disclosed December 2, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-136988 (metadata-based):

This vulnerability is an unauthenticated arbitrary file upload in the Extra Product Options & Add-Ons for WooCommerce plugin (versions <= 7.6.2). The flaw resides in the `upload_file()` function, which is invoked via the `wc_bookings_calculate_costs` AJAX action. An attacker can upload files of any type, including PHP scripts, to the `wp-content/uploads/extra_product_options/` directory, potentially leading to remote code execution. The CVSS score is 8.1 (High), with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Root Cause: The vulnerability stems from an unrestricted file upload (CWE-434). According to the description, the plugin's extension and MIME allow-list check exists exclusively inside the `woocommerce_add_to_cart_validation()` callback. When the `adjust_booking_cost()` method calls `tm_add_cart_item_data()` directly, it bypasses that validation and reaches `wp_handle_upload()` with `test_type=false` and `ALLOW_UNFILTERED_UPLOADS` defined as `true`, effectively disabling WordPress core's filetype checks. This analysis is inferred from the CWE and description; no code diff is available to confirm exact code paths.

Exploitation: An unauthenticated attacker sends a POST request to `/wp-admin/admin-ajax.php` with the `action` parameter set to `wc_bookings_calculate_costs` and a file upload field. The file can have any extension, such as `.php`. Successful exploitation requires WooCommerce Bookings or Easy Booking to be active and at least one bookable product configured with an EPO file-upload element. The uploaded file is stored in `wp-content/uploads/extra_product_options/`, allowing the attacker to execute arbitrary code by accessing the uploaded file.

Remediation: The fix likely involves moving the extension and MIME validation out of the `woocommerce_add_to_cart_validation()` callback and into the `upload_file()` function or the AJAX handler itself, ensuring that file type checks are performed regardless of the code path. Additionally, the use of `ALLOW_UNFILTERED_UPLOADS` should be removed or restricted. The patched version is 7.6.3.

Impact: Successful exploitation allows an unauthenticated attacker to upload and execute arbitrary PHP code, leading to full server compromise, data theft, and site takeover. The CVSS vector indicates high confidentiality, integrity, and availability impact.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-136988 (metadata-based)
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:2026136988,phase:2,deny,status:403,chain,msg:'CVE-2026-136988: Unauthenticated Arbitrary File Upload via wc_bookings_calculate_costs',severity:'CRITICAL',tag:'CVE-2026-136988'"
  SecRule ARGS_POST:action "@streq wc_bookings_calculate_costs" "chain"
    SecRule FILES_NAMES "@rx .(php|phtml|php3|php4|php5|php7|phps|pht|phar)$" "t:lowercase"

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.