Advisory record · GHSA-jp7f-grcv-6mjf

Partial path traversal in sharpcompress

CVSS 4.3 MediumEPSS 0.012 · 68th percentile

Published by the GitHub Advisory Database at 20 Sept 2021, 19:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
SharpCompressNuGet<0.290.29
Identifiers
GHSA-jp7f-grcv-6mjf · CVE-2021-39208
Weakness (CWE)
CWE-22
Published
20 Sept 2021
Updated
8 Jul 2026

Machine-written summary

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

SharpCompress versions before 0.29 are affected. When ExtractFullPath is enabled, a crafted archive can cause files to be created in a sibling directory whose name starts with the destination directory's name, because the destination path is not required to end with a slash during the containment check. The impact is limited to file creation, and its reach depends on how the application uses extraction. Upgrade to SharpCompress 0.29 or later.

Written 9 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
4.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.012, the 68th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:22 UTC First seen by agentprime
  2. 31 Oct 2026, 15:22 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.