Description
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].
Published: 2026-10-03
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Authenticated editors can exploit the POST /api/v0/media/upload/[path] endpoint by supplying an unvalidated file path. The API accepts .php files without sanitizing path components, allowing an attacker to place arbitrary files in any directory, including the web root. Executing a .php file grants remote code execution, while the DELETE /api/v0/media/[path] endpoint permits deletion of arbitrary files. The flaw exemplifies CWE‑434: Unvalidated File Upload.

Affected Systems

The vulnerable product is vincent‑peugnet’s W CMS (wcms) version 3.18.0 and earlier. No other vendors or product lines are reported to be affected. Operators of self‑hosted wcms instances should confirm their installation version against the 3.18.0 baseline before applying any remediation.

Risk and Exploitability

The CVSS score of 8.7 indicates a high‑severity issue requiring authenticated access. The EPSS score is not available, but the lack of a public exploit and the requirement for editor credentials mean exploitation is possible only in environments where an attacker can gain or mimic such privileges. Although not listed in the CISA KEV catalog, the potential for remote code execution makes this a high‑priority risk for exposed wcms installations.

Generated by OpenCVE AI on October 4, 2026 at 00:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the wcms instance to the latest version, which removes the unvalidated path in the media upload API.
  • If an upgrade is not immediately feasible, disable the /api/v0/media/upload endpoint or restrict it to a limited set of trusted users, and validate all upload paths to prevent traversal and disallow .php files.
  • Configure the web server to deny execution of files in the media directory, ensuring that even if a script is uploaded, it cannot be executed.

Generated by OpenCVE AI on October 4, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 03 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
Description 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].
Title W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API
First Time appeared Wcms
Wcms wcms
Weaknesses CWE-434
CPEs cpe:2.3:a:wcms:wcms:*:*:*:*:*:*:*:*
Vendors & Products Wcms
Wcms wcms
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-03T22:30:12.394Z

Reserved: 2026-10-03T12:05:26.755Z

Link: CVE-2026-105123

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-04T00:16:35.703

Modified: 2026-10-04T00:16:35.703

Link: CVE-2026-105123

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T00:30:05Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type