{"id":"CVE-2026-105123","published":"2026-10-04T00:16:35.703","lastModified":"2026-10-06T16:08:43.180","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].","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-434"],"vendors":[],"products":[],"references":[{"url":"https://github.com/vincent-peugnet/wcms","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/issues/662","tags":[]},{"url":"https://www.vulncheck.com/advisories/w-wcms-through-3.18.0-rce-and-arbitrary-file-write-via-media-upload-api","tags":[]}],"exploitRefs":[{"url":"https://github.com/vincent-peugnet/wcms","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98","tags":[]},{"url":"https://github.com/vincent-peugnet/wcms/issues/662","tags":[]}],"hasPoc":true,"ai":{"summary":"This vulnerability allows authenticated editors to execute arbitrary code by uploading .php files and writing outside the media directory, leading to remote code execution.","exploitability":"Exploitation requires an authenticated editor and knowledge of the specific path vulnerability, making it moderately hard to exploit.","blast_radius":"If exploited, attackers can gain full control over the web server, leading to potential data loss and system compromise.","remediation":"Upgrade to w (vincent-peugnet/wcms) 3.19.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","auth-bypass","web"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-04T08:41:23.841Z"}}