CVE-2026-119071: W3 Total Cache path traversal / file read vulnerability
published 2026-11-27
- Affected versions
- 2.11.0 and older
- Fixed in
- 2.11.1 *
- Latest version
- 2.11.1
- Active installs
- 800,000+
- Type
- Path traversal / file read
* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.
What to do now
- Update W3 Total Cache to 2.11.1 or newer: Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- Not sure which version you run? Check your version against every known W3 Total Cache issue.
With WP-CLI:
wp plugin get w3-total-cache --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
Is your site exposed to CVE-2026-119071?
- Are you on an affected version? Compare your W3 Total Cache version with every known issue on record. Check my version
- Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
- Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works
What an attacker needs
- Access: A logged-in account with Author-level access or higher.
Technical details
Weakness
Path traversal / file read CWE-22
A file path built from input is not properly restricted, so sequences like ../ can reach files outside the intended folder.
An attacker may read sensitive files on the server, such as configuration containing database credentials.
General description of this issue type. The advisory below covers this bug.
CVSS 3.1 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- High
CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
The advisory
The W3 Total Cache plugin for WordPress is vulnerable to unauthorized File Deletion in all versions up to, and including, 2.11.0 via the `ajax_revert()` AJAX handler. The vulnerability exists because the `remove_optimizations()` function reads attacker-controlled values from the unprotected `w3tc_imageservice` post meta key — which carries no underscore prefix and no registered authorization callback, making it writable by any user with `edit_post` capability via WordPress's built-in custom-fields AJAX endpoint — and passes those values directly to `wp_delete_attachment()` with no check that the referenced ID is a child of the caller's own post, is an actual attachment, or that the caller holds `delete_post` capability on it. This makes it possible for authenticated attackers with Author-level access or above to permanently delete any WordPress attachment in the media library, including media files owned by other users along with their associated files on disk, regardless of ownership — a capability not available through the normal WordPress interface. The revert nonce is exposed via `wp_localize_script` on `/wp-admin/upload.php` to any user with `upload_files` capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.
References
- NVD CVE-2026-119071 nvd.nist.gov
- Wordfence advisory www.wordfence.com
- github.com github.com
- Plugin source plugins.trac.wordpress.org
How Laskyr cleans up a site hacked through W3 Total Cache
We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.
Related
Ran an affected version? Run the free scan for signs of a hack.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/w3-total-cache (Plugins API), fetched 2026-11-29.
- Everything outside the quoted description is our plain-English reading of the record and the plugin's release history. The CWE is the standard one for this issue type. Spot an error? Email Daniel.