{"id":"CVE-2026-105123","aliases":["CVE-2026-105123"],"related":[],"kind":"vulnerability","state":"published","title":"W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API","summary":"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].","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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].","source":"cvelist"}],"published":"2026-10-03T22:30:12.394Z","modified":"2026-10-06T16:08:43.180Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.18.0","status":"affected"}],"vendor":"vincent-peugnet","product":"wcms","source":"cvelist"}],"references":[{"url":"https://github.com/vincent-peugnet/wcms/issues/662","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vincent-peugnet/wcms","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/w-wcms-through-3.18.0-rce-and-arbitrary-file-write-via-media-upload-api","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["ikram-4"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-05T14:15:35.243Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-105123","url":"https://www.cve.org/CVERecord?id=CVE-2026-105123","licence":"CVE Terms of Use","modified":"2026-10-05T14:16:25.044Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-105123","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105123","licence":"Public domain","modified":"2026-10-06T16:08:43.180Z"}],"updatedAt":"2026-11-25T22:59:42.045Z","epss":{"score":0.00516,"percentile":0.4539,"date":"2026-12-01T12:00:22.000Z"}}