CVE Explorer
CVE-2026-32262
Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.5 and from version 5.0.0-RC1 to before version 5.9.11, the AssetsController->replaceFile() method has a targetFilename body parameter that is used unsanitized in a deleteFile() call before Assets::prepareAssetName() is applied on save. This allows an authenticated user with replaceFiles permission to delete arbitrary files within the same filesystem root by injecting ../ path traversal sequences into th
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cms","vendor":"craftcms","versions":[{"status":"affected","version":">= 4.0.0-RC1, < 4.17.5"},{"status":"affected","version":">= 5.0.0-RC1, < 5.9.11"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dba6a03fddf40927f9e814ba4cb03cb9cb5eb7566f91ad0c2014a83d2ed286a8 · sha256:ace39d2cd78b3e20… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dba6a03fddf40927f9e814ba4cb03cb9cb5eb7566f91ad0c2014a83d2ed286a8 · sha256:ace39d2cd78b3e20… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dba6a03fddf40927f9e814ba4cb03cb9cb5eb7566f91ad0c2014a83d2ed286a8 · sha256:ace39d2cd78b3e20… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/craftcms/cms/commit/c997efbe4c66c14092714233aeebff15cdbfcf11","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/commit/c997efbe4c66c14092714233aeebff15cdbfcf11"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dba6a03fddf40927f9e814ba4cb03cb9cb5eb7566f91ad0c2014a83d2ed286a8 · sha256:ace39d2cd78b3e20… · /containers/cna/references/1
{"name":"https://github.com/craftcms/cms/security/advisories/GHSA-472v-j2g4-g9h2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-472v-j2g4-g9h2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dba6a03fddf40927f9e814ba4cb03cb9cb5eb7566f91ad0c2014a83d2ed286a8 · sha256:ace39d2cd78b3e20… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.