Path Traversal in Code16 Sharp
CVE-2026-33686
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (44.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.000
Affected products
- Code16 Sharp — versions < 9.20.0
Weakness classification (CWE)
References
- github.com/code16/sharp/security/advisories/GHSA-9ffq-6457-8958 (Vendor Advisory)
- github.com/code16/sharp/pull/715 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-33686?
- CVE-2026-33686 is a high-severity vulnerability in Code16 Sharp, classified under Path Traversal. CVSS score: 8.8/10. Published 2026-03-26.
- How severe is CVE-2026-33686?
- High severity. CVSS v3 base score is 8.8 out of 10.