A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-RC1 before 4.18.2 contain a theoretical path traversal weakness in the ensurePathIsContained function of the Local file system class. The order of operations validates the path before normalization, so normalization could invalidate prior validation assumptions (a desanitization-style issue) and potentially resolve to files outside the intended volume directory. The vendor notes the issue is not directly exploitable and no exploitable scenario has been discovered; the fix is recommended for hardening.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /craftcms/cms/security/advisories/GHSA-7hxc-f267-h5q7
- www.vulncheck.com /advisories/craft-cms-rc1-before-path-traversal-via-ensurep…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning