# CVE-2026-32262: Craft CMS has a Path Traversal Vulnerability in AssetsController

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-03-16T18:11:49.000Z
- Modified: 2026-06-17T10:35:26.770Z
- Also known as: GHSA-472v-j2g4-g9h2
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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 the filename. This could allow an authenticated user with replaceFiles permission on one volume to delete files in other folders/volumes that share the same filesystem root. This only affects local filesystems. This issue has been patched in versions 4.17.5 and 5.9.11.

(As written by CVE List.)

## Affected

- craftcms cms: >= 4.0.0-RC1, < 4.17.5; >= 5.0.0-RC1, < 5.9.11
- craftcms/cms (Packagist): from 4.0.0-RC1 before 4.17.5; from 5.0.0-RC1 before 5.9.11
- craftcms craft_cms: from 4.0.0.1 before 4.17.5; from 5.0.1 before 5.9.11; 4.0.0; 5.0.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-472v-j2g4-g9h2> (patch, vendor-advisory, web)
- <https://github.com/craftcms/cms/commit/c997efbe4c66c14092714233aeebff15cdbfcf11> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32262> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2026-32262](https://www.cve.org/CVERecord?id=CVE-2026-32262), CVE Terms of Use, modified 2026-03-17
- GitHub Advisory Database: [GHSA-472v-j2g4-g9h2](https://github.com/advisories/GHSA-472v-j2g4-g9h2), CC-BY-4.0, modified 2026-03-16
- NVD: [CVE-2026-32262](https://nvd.nist.gov/vuln/detail/CVE-2026-32262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32262 · Whole record: https://cve.day/CVE-2026-32262.json · Rebuilt by cve.day 2026-11-25T22:59:16.028Z
