CVE-2026-56394: Craft CMS - Authenticated Path Traversal in assets/icon Extension Parameter

Published Jun 21, 2026
·
Updated

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.

Affected Software

1 affected component
Pixel & Tonic Craft CMS>=4.0.0-RC1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Perform server-side validation of the 'extension' parameter in the /actions/assets/icon handler before any file existence checks. Reject values containing '../', '..\\', leading '/' or '\\', or percent-encoded traversal sequences (e.g. %2e%2e). Only accept a tight whitelist of extension strings such as 'svg'.

    Craft CMS assets/icon endpoint extension parameter validation = reject path traversal sequences and only allow expected extension tokens (e.g., svg)
  2. Compensating control

    Configure a web application firewall or reverse proxy rule to block requests to the /actions/assets/icon endpoint that contain path traversal patterns (e.g. '../' or percent-encoded equivalents like %2e%2e) or other suspicious path normalization sequences. Normalize incoming URLs before inspection to detect encoded traversal.

Event History

Jun 21, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56394?

CVE-2026-56394 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-56394?

To fix CVE-2026-56394, ensure that the extension parameter in the assets/icon endpoint is properly validated before conducting file existence checks.

3

What is the impact of CVE-2026-56394?

CVE-2026-56394 allows authenticated attackers to exploit path traversal vulnerabilities, potentially accessing unauthorized SVG files.

4

Which versions of Craft CMS are affected by CVE-2026-56394?

Craft CMS starting from version 4.0.0-RC1 is affected by CVE-2026-56394.

5

What type of vulnerability is CVE-2026-56394 classified as?

CVE-2026-56394 is classified as a path traversal vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203