ConicPlex

Start Your Project

A hand sliding a folder into an open metal filing cabinet drawer among rows of archived paper files, illustrating an unauthorized file being written into an existing directory

On this Page

W3 Total Cache Patches a Critical Unauthenticated File-Write Bug (CVE-2026-18051)

W3 Total Cache before 2.10.5 has a critical unauthenticated file-write flaw, CVE-2026-18051, CVSS 10.0. Update now.

Aftab Memon

August 20, 2026

W3 Total Cache, the caching plugin active on more than 900,000 WordPress sites, fixed a critical unauthenticated file-write vulnerability in version 2.10.5. The flaw, tracked as CVE-2026-18051, carries the maximum possible CVSS score of 10.0. Every version before 2.10.5 let an attacker with no login at all write a file into almost any directory that already exists on the server, including outside the web root. Update to 2.10.5 now if you haven’t already.

What the Bug Actually Does

Security researcher Jakub Herman found that W3 Total Cache’s Disk Enhanced page caching mode didn’t properly validate the paths it used when building cache file names. That’s a classic path traversal issue, CWE-22, but the impact here is worse than a typical read-only version of the bug. An unauthenticated attacker can send a crafted request that gets the plugin to write a file wherever they want, as long as the target directory already exists, and that write overwrites whatever’s already there.

On Apache hosting specifically, that means an attacker can overwrite .htaccess files. Losing that file doesn’t just risk breaking URL rewrites and redirects. It can silently strip out the hardening rules a security plugin or a host added to block directory listing, PHP execution in uploads folders, and similar protections, and most site owners won’t notice until something else goes wrong.

Who Should Care

Anyone running W3 Total Cache below 2.10.5 with the Disk Enhanced page cache method enabled is exposed right now, and it doesn’t matter whether the site takes logins from the public. The vulnerability needs zero authentication and zero user interaction. Given how widely W3TC is bundled or recommended for WordPress performance, plenty of sites are running it without the site owner even knowing which caching method is active.

The researcher’s advisory is holding a public proof of concept until September 17 specifically to give people time to patch. That’s not a long runway once attackers start reverse-engineering the fix from the changelog diff, which is exactly what tends to happen with a CVSS 10.0 bug in a plugin this widely installed.

What to Do

  • Update W3 Total Cache to 2.10.5 or later immediately, from Plugins in wp-admin or via WP-CLI.
  • If you can’t update right away, switch the page cache method away from Disk Enhanced as a stopgap, though updating is the only real fix.
  • Check your live .htaccess against a known-good backup if you suspect the site was already hit, since a quietly overwritten file is easy to miss.

This is the kind of bug that’s easy to miss if plugin updates aren’t part of someone’s regular routine. That’s exactly what we check first in a WordPress Development audit: which caching and security plugins are actually running, what version they’re on, and whether anything critical like .htaccess has drifted from what it should be. We covered a similar file-integrity bug in Sucuri’s own plugin last week, and an unauthenticated CVSS 9.8 admin takeover in User Profile Builder a few days before that. Unauthenticated, maximum-severity bugs in widely installed plugins are showing up often enough this month that “we’ll update plugins next sprint” isn’t a safe posture anymore.

Sources

Aftab Memon is a Senior WordPress Developer at ConicPlex, working across everything from plugin conflicts and theme customization to full site builds on Elementor and WooCommerce. He spends most of his time in the parts of WordPress that don’t show up in a features list: hosting quirks, hook priority, the difference between a plugin that works in isolation and one that survives a real production stack. He writes here about what actually holds up once a WordPress site is live and being run by a non-technical client, not just what works in a demo.

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

Software

Marble consultation counter in a med spa with a tablet, orchid, treatment cards, and a towel, with a treatment room visible in the background

Why a Treatment-Finder Quiz Converts Better Than a Service Menu for Med Spas and Clinics

A treatment-finder quiz can convert far better than a static service list on a med spa or clinic website. Here…

Aftab Memon

September 12, 2026

Plugins

Illustration of a notification bell above a stack of product boxes, representing WooCommerce back in stock notification plugins

Best WooCommerce Back in Stock Notification Plugins: 4 Real Options Compared

WooCommerce has no built-in way to notify a customer when an out-of-stock product comes back. This post compares four real…

Husen Memon

September 11, 2026

News & Updates

A laptop glowing with soft blue, red, yellow, and green light beside a cracked glass cube on a desk, symbolizing a breached browser security boundary

Chrome Patches Its Seventh Actively Exploited Zero-Day of 2026 (CVE-2026-87491)

Google patched CVE-2026-87491, Chrome’s seventh actively exploited zero-day of 2026, in Chrome 153. Here’s what changed and how to update….

Sameer Malek

September 10, 2026

WhatsApp
Husen Memon
Husen Memon
Typically replies instant