CVE-2026-12089: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Tools
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.
AI Analysis
Technical Summary
CVE-2026-12089 is a path traversal vulnerability (CWE-22) in the LWS Optimize – All-in-One Speed Booster & Cache Tools WordPress plugin up to version 3.3.19. The combine_current_css() function processes <link rel="stylesheet" href="..."> values from page HTML, converting same-site URLs to absolute filesystem paths. It then reads these files using file_get_contents() and Minify\CSS::add() without verifying that the resolved path remains within the WordPress ABSPATH or that the file has a .css extension. This lack of validation enables authenticated attackers with Editor-level access or higher to read arbitrary files on the server, potentially exposing sensitive information. The CVSS 3.1 base score is 4.9 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high confidentiality impact.
Potential Impact
An attacker with Editor-level or higher privileges can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This could lead to disclosure of sensitive information such as configuration files, credentials, or other data stored on the filesystem. There is no indication of integrity or availability impact. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Editor-level access to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation. Avoid using vulnerable versions (<=3.3.19) in production environments if possible.
CVE-2026-12089: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in aurelienlws LWS Optimize – All-in-One Speed Booster & Cache Tools
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.
CVSS v3.1
Score 4.9medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-12089 is a path traversal vulnerability (CWE-22) in the LWS Optimize – All-in-One Speed Booster & Cache Tools WordPress plugin up to version 3.3.19. The combine_current_css() function processes <link rel="stylesheet" href="..."> values from page HTML, converting same-site URLs to absolute filesystem paths. It then reads these files using file_get_contents() and Minify\CSS::add() without verifying that the resolved path remains within the WordPress ABSPATH or that the file has a .css extension. This lack of validation enables authenticated attackers with Editor-level access or higher to read arbitrary files on the server, potentially exposing sensitive information. The CVSS 3.1 base score is 4.9 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high confidentiality impact.
Potential Impact
An attacker with Editor-level or higher privileges can exploit this vulnerability to read arbitrary files on the server hosting the WordPress site. This could lead to disclosure of sensitive information such as configuration files, credentials, or other data stored on the filesystem. There is no indication of integrity or availability impact. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Editor-level access to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for a patch or official mitigation. Avoid using vulnerable versions (<=3.3.19) in production environments if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-06-12T13:57:55.876Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2cc2dfe617e2d8342dcc6b
Added to database: 06/13/2026, 02:39:27 UTC
Last enriched: 06/20/2026, 16:05:43 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 83
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.