Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-33686
March 26, 2026
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.
Affected Packages
https://github.com/code16/sharp.git (GITHUB):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
https://github.com/code16/sharp.git (GITHUB):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
https://github.com/code16/sharp.git (GITHUB):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
code16/sharp (PHP):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
code16/sharp (PHP):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
code16/sharp (PHP):
Affected version(s) >=v4.0-BETA1 <v9.20.0
Fix Suggestion:
Update to version v9.20.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.06