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.







