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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-03T22:30:12.394Z
- Modified: 2026-10-06T16:08:43.180Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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].

(As written by CVE List.)

## Affected

- vincent-peugnet wcms: up to 3.18.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vincent-peugnet/wcms/issues/662> (issue-tracking)
- <https://github.com/vincent-peugnet/wcms> (product)
- <https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44> (technical-description)
- <https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98> (technical-description)
- <https://www.vulncheck.com/advisories/w-wcms-through-3.18.0-rce-and-arbitrary-file-write-via-media-upload-api> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-105123](https://www.cve.org/CVERecord?id=CVE-2026-105123), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-105123](https://nvd.nist.gov/vuln/detail/CVE-2026-105123), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-105123 · Whole record: https://cve.day/CVE-2026-105123.json · Rebuilt by cve.day 2026-11-25T22:59:42.045Z
