CVE-2026-2354 Swiss Toolkit For WP <= 1.4.6 - Authenticated (Author+) Arbitrary File Upload via upload_extension_files()
Authenticated attackers can upload arbitrary files, including PHP, leading to remote code execution if the Enhanced Multi-Format Image Support feature is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-2354?
CVE-2026-2354 is a high-severity vulnerability in wpmessiah Swiss Toolkit For WP, published on 11 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Swiss Toolkit For WP plugin for WordPress is vulnerable to arbitrary file upload due to a flawed file type validation bypass in the `upload_extension_files()` function in all versions up to, and including, 1.4.6. The `upload_extension_files()` function hooks into WordPress's `wp_check_filetype_and_ext` filter and uses `strpos()` to check if a filename contains a configured extension string, rather than verifying the actual file extension. This makes it possible for authenticated attackers, with Author-level access and above, to upload arbitrary files (including PHP) on the affected site's server which may make remote code execution possible, granted the "Enhanced Multi-Format Image Support" feature is enabled with at least one extension (e.g., avif) in the allowed formats.
Weakness: CWE-434
Which versions are affected by CVE-2026-2354?
How do I fix CVE-2026-2354?
No fix has been published for CVE-2026-2354 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-2354 being exploited?
There is no known exploitation of CVE-2026-2354 in the wild and no public exploit code.
Sources
Also known as GHSA-xq2v-8qf4-3rg6.