Advisory record · GHSA-9ffq-6457-8958

Sharp is Vulnerable to Path Traversal via Unsanitized Extension in FileUtil

CVSS 8.8 HighEPSS 0.0057 · 47th percentile

Published by the GitHub Advisory Database at 25 Mar 2026, 20:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code16/sharpPackagist<9.20.09.20.0
Identifiers
GHSA-9ffq-6457-8958 · CVE-2026-33686 · PKSA-48kw-4xx3-wpfb
Weakness (CWE)
CWE-22
Published
25 Mar 2026
Updated
27 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The code16/sharp package is vulnerable to path traversal in versions before 9.20.0, because the file extension extracted by FileUtil is not sanitized and can carry path separators into the storage layer. An authenticated attacker can use this to write files outside the intended tmp directory, potentially overwriting critical files such as configuration files. Upgrade to code16/sharp 9.20.0 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0057, the 47th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.