GHSA-c43v-4cr8-6mvp: Craft CMS has authenticated path traversal in `assets/icon`, allowing local `.svg` file read
An authenticated path traversal vulnerability exists in Craft CMS in the assets/icon endpoint, allowing local .svg files to be read by passing traversal sequences in the extension parameter. The vulnerability arises because file existence checks occur before extension validation, enabling bypass of validation if the file exists. Authenticated users can exploit this to read local SVG files accessible to the application process.
AI Analysis
Technical Summary
Craft CMS contains an authenticated path traversal vulnerability in the assets/icon endpoint. The vulnerability is due to the order of operations in the code: the file existence check on a user-controlled extension parameter occurs before validating that the extension matches a safe pattern. If the file exists, it is served immediately without validation, allowing traversal payloads to read arbitrary local .svg files. This affects authenticated users who can supply crafted extension parameters to access local SVG files.
Potential Impact
Authenticated users can read local .svg files accessible to the application process, potentially exposing sensitive information contained within those files. The vulnerability does not allow remote unauthenticated access or code execution, and the severity is assessed as low.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the affected endpoint to trusted users only and monitor for suspicious activity related to file access. Avoid exposing sensitive SVG files on the server.
GHSA-c43v-4cr8-6mvp: Craft CMS has authenticated path traversal in `assets/icon`, allowing local `.svg` file read
Description
An authenticated path traversal vulnerability exists in Craft CMS in the assets/icon endpoint, allowing local .svg files to be read by passing traversal sequences in the extension parameter. The vulnerability arises because file existence checks occur before extension validation, enabling bypass of validation if the file exists. Authenticated users can exploit this to read local SVG files accessible to the application process.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Craft CMS contains an authenticated path traversal vulnerability in the assets/icon endpoint. The vulnerability is due to the order of operations in the code: the file existence check on a user-controlled extension parameter occurs before validating that the extension matches a safe pattern. If the file exists, it is served immediately without validation, allowing traversal payloads to read arbitrary local .svg files. This affects authenticated users who can supply crafted extension parameters to access local SVG files.
Potential Impact
Authenticated users can read local .svg files accessible to the application process, potentially exposing sensitive information contained within those files. The vulnerability does not allow remote unauthenticated access or code execution, and the severity is assessed as low.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the affected endpoint to trusted users only and monitor for suspicious activity related to file access. Avoid exposing sensitive SVG files on the server.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c43v-4cr8-6mvp
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- LOW
- Cvss Version
- 4.0
Threat ID: 6a50bac868715ace43589286
Added to database: 07/10/2026, 09:26:32 UTC
Last enriched: 07/10/2026, 10:24:19 UTC
Last updated: 07/10/2026, 10:24:19 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.