CVE-2026-33686
HIGH EPSS 41.7%
Published Mar 26, 20263mo ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
Published Mar 26, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago
Description
Sharp is a content management framework built for Laravel as a package. Versions prior to 9.20.0 have a path traversal vulnerability in the FileUtil class. The application fails to sanitize file extensions properly, allowing path separators to be passed into the storage layer. In `src/Utils/FileUtil.php`, the `FileUtil::explodeExtension()` function extracts a file's extension by splitting the filename at the last dot. This issue has been patched in version 9.20.0 by properly sanitizing the extension using `pathinfo(PATHINFO_EXTENSION)` instead of `strrpos()`, alongside applying strict regex replacements to both the base name and the extension.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
41.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-22 Path Traversal Resource Mgmt
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| code16 | sharp | * | <9.20.0 |
References 2
- github.com https://github.com/code16/sharp/pull/715
- github.com https://github.com/code16/sharp/security/advisories/GHSA-9ffq-6457-8958
Remediation
- github.com https://github.com/code16/sharp/pull/715