CVE-2021-39208
No CISA KEV listing is included in this saved record. Exploitation may still have occurred.
FIRST EPSS: 1.19 % · percentile 68.63 % · scored 24 Nov 2026.
Saved 24 Nov 2026 21:28:38 UTC · View this risk record (JSON)
No access to your tenant or devices. Every item links to its source. What this means
SharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partial path traversal. SharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However, prior to version 0.29.0, it is not enforced that fullDestinationDirectoryPath ends with slash. If the destinationDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints the arbitrary file creation impact is limited and depends on the use case. This issue is fixed in SharpCompress version 0.29.0.
Read the publisher's advisorySharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partial path traversal. SharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However, prior to version 0.29.0, it is not enforced that fullDestinationDirectoryPath ends with slash. If the destinationDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints the arbitrary file creation impact is limited and depends on the use case. This issue is fixed in SharpCompress version 0.29.0.
Read the publisher's advisorySharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partial path traversal. SharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However, prior to version 0.29.0, it is not enforced that fullDestinationDirectoryPath ends with slash. If the destinationDirectory is not slash terminated like `/home/user/dir` it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. `/home/user/dir.sh`. Because of the file name and destination directory constraints the arbitrary file creation impact is limited and depends on the use case. This issue is fixed in SharpCompress version 0.29.0.
Read the publisher's advisorySharpCompress recreates a hierarchy of directories under destinationDirectory if ExtractFullPath is set to true in options. In order to prevent extraction outside the destination directory the destinationFileName path is verified to begin with fullDestinationDirectoryPath. However it is not enforced that fullDestinationDirectoryPath ends with slash: ```csharp public static void WriteEntryToDirectory(IEntry entry, string destinationDirectory, ExtractionOptions? options, Action<string, ExtractionOptions?> write) { string destinationFileName; string file = Path.GetFileName(entry.Key); string fullDestinationDirectoryPath = Path.GetFullPath(destinationDirectory); ... throw new ExtractionException("Entry is trying to write a file outside of the destination directory."); } ``` If the destinationDirectory is not slash terminated like /home/user/dir it is possible to create a file with a name thats begins as the destination directory one level up from the directory, i.e. /home/user/dir.sh. #### Impact Because of the file name and destination directory constraints the arbitrary file creation impact is limited and depends on the use case.
Read the publisher's advisoryCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No CISA KEV listing is included in this saved record. Exploitation may still have occurred.
FIRST EPSS: 1.19 % · percentile 68.63 % · scored 24 Nov 2026.
Saved 24 Nov 2026 21:28:38 UTC · View this risk record (JSON)
Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.
A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).
CVE-2021-39208 · 24 Nov 2026 21:28:38 UTC
CVE-2021-39208 · 23 Nov 2026 19:27:38 UTC
CVE-2021-39208 · 22 Nov 2026 18:25:39 UTC
CVE-2021-39208 · 21 Nov 2026 17:15:52 UTC
CVE-2021-39208 · 20 Nov 2026 15:48:10 UTC
CVE-2021-39208 · 19 Nov 2026 16:46:59 UTC
CVE-2021-39208 · 18 Nov 2026 15:46:44 UTC
CVE-2021-39208 · 17 Nov 2026 15:26:11 UTC
CVE-2021-39208 · 17 Nov 2026 02:39:16 UTC
CVE-2021-39208 · 15 Nov 2026 14:45:34 UTC
CVE-2021-39208 · 14 Nov 2026 16:37:01 UTC
CVE-2021-39208 · 13 Nov 2026 19:59:34 UTC
CVE-2021-39208 · 12 Nov 2026 18:18:51 UTC
CVE-2021-39208 · 10 Nov 2026 20:24:10 UTC
CVE-2021-39208 · 09 Nov 2026 21:04:24 UTC
CVE-2021-39208 · 08 Nov 2026 15:12:21 UTC
CVE-2021-39208 · 07 Nov 2026 16:07:52 UTC
CVE-2021-39208 · 06 Nov 2026 19:10:17 UTC
CVE-2021-39208 · 05 Nov 2026 22:49:22 UTC
CVE-2021-39208 · 05 Nov 2026 02:54:06 UTC
CVE-2021-39208 · 03 Nov 2026 16:59:18 UTC
CVE-2021-39208 · 02 Nov 2026 23:59:04 UTC
CVE-2021-39208 · 01 Nov 2026 23:58:58 UTC
CVE-2021-39208 · 01 Nov 2026 03:04:52 UTC
CVE-2021-39208 · 31 Oct 2026 01:52:30 UTC
CVE-2021-39208 · 29 Oct 2026 18:29:26 UTC
CVE-2021-39208 · 28 Oct 2026 19:55:37 UTC
CVE-2021-39208 · 27 Oct 2026 15:46:19 UTC
See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
euvd · EUVD-2021-2087 · Published
nvd · CVE-2021-39208 · Published
osv · GHSA-jp7f-grcv-6mjf · Published
cve-program · CVE-2021-39208 · Published