CVE-2026-33686HIGH 8.8EPSS p41.5%

CVE-2026-33686CVE-2026-33686

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.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS0.55% probability of exploitation · percentile 41.5% · 2026-06-18T12:00:27Z
Published2026-03-26
Last modified2026-04-01

Underlying weaknesses· 1

CWE-22

References

  1. https://github.com/code16/sharp/pull/715
  2. https://github.com/code16/sharp/security/advisories/GHSA-9ffq-6457-8958

1

TypeTargetConfidenceTier
WeaknessImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')cwe-220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-33687
CVE
CVE-2026-44692
CVE
CVE-2026-53634
CVE
CVE-2026-44788
CVE
CVE-2025-65346
CVE
CVE-2018-1002206
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.