CVE-2026-32262

Source
https://cve.org/CVERecord?id=CVE-2026-32262
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32262.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-32262
Aliases
Published
2026-03-16T18:57:46.516Z
Modified
2026-07-15T01:48:55.590316930Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Craft CMS has a Path Traversal Vulnerability in AssetsController
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32262.json",
    "cwe_ids": [
        "CWE-22"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.0.0.1"
        },
        {
            "fixed": "4.17.5"
        },
        {
            "introduced": "5.0.1"
        },
        {
            "fixed": "5.9.11"
        },
        {
            "introduced": "4.0.0-NA"
        },
        {
            "last_affected": "4.0.0-NA"
        },
        {
            "introduced": "4.0.0-rc1"
        },
        {
            "last_affected": "4.0.0-rc1"
        },
        {
            "introduced": "4.0.0-rc2"
        },
        {
            "last_affected": "4.0.0-rc2"
        },
        {
            "introduced": "4.0.0-rc3"
        },
        {
            "last_affected": "4.0.0-rc3"
        },
        {
            "introduced": "5.0.0-NA"
        },
        {
            "last_affected": "5.0.0-NA"
        },
        {
            "introduced": "5.0.0-rc1"
        },
        {
            "last_affected": "5.0.0-rc1"
        }
    ]
}
Type
GIT
Repo
https://github.com/nystudio107/craft-seomatic
Events
Database specific
{
    "cpe": "cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "4.0.0-NA"
        },
        {
            "last_affected": "4.0.0-NA"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.0-NA
4.0.0-rc1
4.0.0-rc2
4.0.0-rc3
5.*
5.0.0-NA
5.0.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32262.json"