CVE-2026-105123
published high CVSS 4.0 · 8.7W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vincent-peugnet | — | wcms0 through 3.18.0 · Other versions: unaffected | Affected | Not stated | 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].
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vincent-peugnet | wcms | 0 through 3.18.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-434 Unrestricted Upload of File with Dangerous Type
References
5- https://github.com/vincent-peugnet/wcms
- https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Controllerapimedia.php#L24-L44
- https://github.com/vincent-peugnet/wcms/blob/cda5bcdb95dbdb1e804fdfe0e5fd2e2b2f8a90e2/app/class/Media.php#L98
- GitHub Issue #662 https://github.com/vincent-peugnet/wcms/issues/662
- VulnCheck Advisory: W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API https://www.vulncheck.com/advisories/w-wcms-through-3.18.0-rce-and-arbitrary-file-write-via-media-upload-api
Provider assertions
2VulnCheck · cna
W (wcms) through 3.18.0 RCE and Arbitrary File Write via Media Upload API
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 389c55c752f7d33fdc254e864906e2cb415af1832637c5c0a09ae04e4cdcaf8a
- Ingested
- 05 Oct 2026, 14:36:37 UTC
- Source record
- Official CVE record