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

CVE-2026-39759: Workreap Core Path Traversal Vulnerability

CVE-2026-39759 is a path traversal flaw in Workreap Core plugin affecting versions 3.4.5 and earlier that enables arbitrary file uploads. This article covers technical details, affected versions, security impact, and mitigation strategies.

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-39759 Overview

CVE-2026-39759 is an arbitrary file upload vulnerability in the Workreap Core WordPress plugin affecting versions <= 3.4.5. Authenticated users with Employer or Sales Representative roles can upload files without proper type validation. The flaw is tracked under CWE-434: Unrestricted Upload of File with Dangerous Type. Successful exploitation enables uploading web shells or executable scripts that lead to remote code execution on the WordPress host. The scope change in the CVSS vector indicates that compromise extends beyond the vulnerable component to the underlying site and server.

Critical Impact

An authenticated low-privileged user can upload arbitrary files to achieve remote code execution and full compromise of the WordPress site.

Affected Products

  • Workreap Core plugin for WordPress, versions <= 3.4.5
  • WordPress sites exposing Employer registration or Sales Representative roles
  • Workreap freelance marketplace theme deployments using the vulnerable Core plugin

Discovery Timeline

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

Technical Details for CVE-2026-39759

Vulnerability Analysis

The Workreap Core plugin exposes file upload functionality to users holding Employer or Sales Representative roles. The vulnerable code path accepts user-supplied files without enforcing a strict allowlist of safe MIME types or file extensions. Because WordPress stores uploads under a web-accessible directory, an attacker can place a PHP file inside the web root and request it directly. This yields arbitrary code execution in the context of the web server process. The CVSS scope change reflects that the compromise crosses the plugin boundary into the WordPress runtime and the host filesystem.

Root Cause

The root cause is missing or insufficient validation on file type, extension, and content inside the plugin's upload handler. The handler trusts client-supplied metadata and does not reject executable server-side formats such as .php, .phtml, or .phar. Combined with permissive authorization checks that allow low-privileged marketplace roles to invoke the endpoint, this creates a direct path from registration to code execution.

Attack Vector

Exploitation requires network access to the WordPress site and an account with the Employer or Sales Representative role. On deployments where self-registration is enabled, any visitor can obtain the required privilege. The attacker authenticates, submits a crafted multipart upload containing a PHP payload, then requests the resulting file under /wp-content/uploads/ to trigger execution. See the Patchstack Vulnerability Report for additional technical context.

Detection Methods for CVE-2026-39759

Indicators of Compromise

  • New files with executable extensions (.php, .phtml, .phar, .pht) appearing under wp-content/uploads/ or Workreap-specific upload directories
  • Web server access logs showing direct GET requests to uploaded files in wp-content/uploads/ returning HTTP 200
  • Creation of new administrator accounts or modifications to wp-options shortly after an upload event from an Employer or Sales Representative account
  • Outbound connections from the PHP worker process to unfamiliar hosts following a POST to a Workreap upload endpoint

Detection Strategies

  • Alert on write events to the uploads directory where the resulting filename matches server-executable extensions
  • Monitor WordPress audit logs for Employer or Sales Representative role creations followed by upload activity within short time windows
  • Inspect HTTP POST bodies to Workreap upload endpoints for PHP tags, <?php, or polyglot image headers containing script content

Monitoring Recommendations

  • Forward web server, PHP-FPM, and WordPress audit logs to a centralized analytics platform for correlation
  • Baseline normal file creation patterns under wp-content/uploads/ and alert on deviations
  • Track registration spikes for Employer and Sales Representative roles that precede upload activity

How to Mitigate CVE-2026-39759

Immediate Actions Required

  • Update Workreap Core to a version later than 3.4.5 once the vendor publishes a fixed release
  • Disable Employer and Sales Representative self-registration until the plugin is patched
  • Audit wp-content/uploads/ for unexpected executable files and remove any that are confirmed malicious
  • Rotate WordPress administrator credentials, API keys, and database passwords if evidence of upload abuse is found

Patch Information

At the time of publication, the Patchstack advisory lists Workreap Core <= 3.4.5 as affected. Apply the vendor's security release as soon as it is available and confirm the installed version in the WordPress plugins console.

Workarounds

  • Block execution of PHP inside wp-content/uploads/ using web server configuration directives
  • Place a web application firewall rule that rejects multipart uploads containing PHP opening tags to Workreap endpoints
  • Restrict access to the Workreap upload endpoints by IP allowlist where feasible
  • Temporarily deactivate the Workreap Core plugin on sites that do not require active marketplace functionality
bash
# Deny PHP execution inside the WordPress uploads directory (Apache .htaccess)
<FilesMatch "\.(php|phtml|phar|pht|php7|php8)$">
    Require all denied
</FilesMatch>

# Nginx equivalent inside the server block
location ~* /wp-content/uploads/.*\.(php|phtml|phar|pht)$ {
    deny all;
    return 403;
}

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.