{"id":"CVE-2026-105123","summary":"W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API","details":"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].","modified":"2026-10-06T02:30:37.416476373Z","published":"2026-10-03T22:30:12.394Z","database_specific":{"cwe_ids":["CWE-434"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105123.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105123.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105123"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/w-wcms-through-3.18.0-rce-and-arbitrary-file-write-via-media-upload-api"},{"type":"REPORT","url":"https://github.com/vincent-peugnet/wcms/issues/662"},{"type":"PACKAGE","url":"https://github.com/vincent-peugnet/wcms"},{"type":"ARTICLE","url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44"},{"type":"ARTICLE","url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vincent-peugnet/wcms","events":[{"introduced":"0"},{"fixed":"cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0"},{"last_affected":"3.18.0"},{"fixed":"3.18.0"}]}}],"versions":["v3.17.0","v3.16.0","v3.15.1","v3.15.0","v3.14.0","v3.13.1","v3.13.0","v3.12.2","v3.12.1","v3.12.0","v3.11.0","v3.10.2","v3.10.1","v3.10.0","v3.9.0","v3.8.0","v3.7.0","v3.6.0","v3.5.0","v3.4.1","v3.4.0","v3.3.0","v3.1.0","v3.0.0","v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.1","v2.0.0","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.2","v1.11.1","v1.11.0","v1.10.0","v1.9.1","v1.9.0","v1.8.0","v1.7.0","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105123.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}