Skip to content
Heist/ feed
Back to feed
High

Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter

Type: advisorySources: OSV

Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences that resolve to existing SVG files, allowing local file read access.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-56394
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:35 UTC · Revision 1

Source evidence

Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter

core-osv · Original source

Published 21 Jun 2026, 13:27 UTC

Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences that resolve to existing SVG files, allowing local file read access.

osv:CVE-2026-56394
Complete source record
{
  "id": "c9709a52f9afe594010669a6ff984348feb5d20838ae8b32e2b9a86bd1bdb986",
  "url": "https://osv.dev/vulnerability/CVE-2026-56394",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter",
    "summary": "Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences that resolve to existing SVG files, allowing local file read access.",
    "evidence": "osv:CVE-2026-56394",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-56394",
      "aliases": [
        "CVE-2026-56394",
        "GHSA-c43v-4cr8-6mvp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/craftcms/cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
                },
                {
                  "fixed": "77b7c3a28dcf063163706f508101c16a8e77eed9"
                },
                {
                  "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
                },
                {
                  "fixed": "79198636a24ce405d8365e1bc281b3405313ccbf"
                },
                {
                  "fixed": "30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0.0-RC1"
                      },
                      {
                        "fixed": "4.17.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.0.0-RC1"
                      },
                      {
                        "fixed": "5.9.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56394.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.653512084Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56394.json",
        "https://github.com/craftcms/cms/security/advisories/GHSA-c43v-4cr8-6mvp",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-56394",
        "https://www.vulncheck.com/advisories/craft-cms-authenticated-path-traversal-in-assets-icon-extension-parameter",
        "https://github.com/craftcms/cms/commit/30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56394.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-56394",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492490,
  "published_at": "2026-06-21T13:27:02.445+00:00"
}