Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. GHSA-c43v-4cr8-6mvp

GHSA-c43v-4cr8-6mvp: Craft CMS has authenticated path traversal in `assets/icon`, allowing local `.svg` file read

July 9, 2026 (updated August 6, 2026)

An authenticated path traversal in assets/icon allows local SVG file read by passing traversal sequences in the extension parameter. The issue is caused by file existence checks happening before extension validation.

References

  • github.com/advisories/GHSA-c43v-4cr8-6mvp
  • github.com/craftcms/cms/commit/30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c
  • github.com/craftcms/cms/security/advisories/GHSA-c43v-4cr8-6mvp
  • nvd.nist.gov/vuln/detail/CVE-2026-56394
  • www.vulncheck.com/advisories/craft-cms-authenticated-path-traversal-in-assets-icon-extension-parameter

Code Behaviors & Features

Detect and mitigate GHSA-c43v-4cr8-6mvp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.17.7, all versions starting from 5.0.0-RC1 before 5.9.13

Fixed versions

  • 4.17.7
  • 5.9.13

Solution

Upgrade to versions 4.17.7, 5.9.13 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/craftcms/cms/GHSA-c43v-4cr8-6mvp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:39 +0000.