CVE-2026-12089 WS Optimize – All-in-One Speed Booster & Cache Tools <= 3.3.19 - Authenticated (Editor+) Arbitrary File Read
Authenticated editors can read arbitrary files on the server due to insufficient path validation in the CSS combination function.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-12089?
CVE-2026-12089 is a medium-severity path traversal vulnerability in aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Tools, published on 13 Jun 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The LWS Optimize – All-in-One Speed Booster & Cache Tools plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 3.3.19. This is due to the combine_current_css() function trusting <link rel="stylesheet" href="..."> values harvested from page HTML and converting same-site URLs to absolute filesystem paths before reading them with file_get_contents()/Minify\CSS::add(), without enforcing that the resolved path stay within ABSPATH or have a .css extension. This makes it possible for authenticated attackers, with Editor-level access and above, to read arbitrary files.
Weakness: CWE-22
Which versions are affected by CVE-2026-12089?
How do I fix CVE-2026-12089?
No fix has been published for CVE-2026-12089 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-12089 being exploited?
There is no known exploitation of CVE-2026-12089 in the wild and no public exploit code.
Sources
Also known as GHSA-cx9x-fm2c-c65m.