CVE-2026-105123: W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API

Published Oct 3, 2026
·
Updated

W (vincent-peugnet/wcms) through 3.18.0 contains a remote code execution vulnerability that allows authenticated editors to write arbitrary files by abusing the unvalidated path in POST /api/v0/media/upload/[:path]. Attackers can upload .php files executed by the web server, use encoded ../ sequences to write outside the media directory, and delete arbitrary files via DELETE /api/v0/media/[:path].

Affected Software

1 affected component
Vincent Peugnet W (wcms)<=3.18.0

Event History

Oct 3, 2026
CVE Published
via MITRE·10:30 PM
Data Sourced
via MITRE·10:30 PM
DescriptionSeverityWeakness
Oct 4, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user with editor-level access can exploit the affected Media Upload API. No user interaction is required, and the vulnerable endpoint is reachable over the network.

2

What does an attacker need to do to achieve code execution?

The attacker needs to authenticate as an editor and submit a PHP file to POST /api/v0/media/upload/[*:path]. If the web server executes uploaded PHP files, the uploaded file can be used for remote code execution.

3

Can the issue affect files outside the media directory?

Yes. Encoded ../ path sequences can be used with the upload endpoint to write files outside the intended media directory. The DELETE /api/v0/media/[*:path] endpoint can also be abused to delete arbitrary files.

4

Which versions are affected?

W (wcms) through version 3.18.0 is affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203