sharpcompress
SharpCompress is a fully managed C# library to deal with many compression types and formats.
Activity
- Latest release
- 1mo ago
- Total releases
- 153
- Cadence
- ~daily
- Last 12 months
- 75
Reach
- Stars
- 2.6k
Details
- License
- MIT
- First release
- May 12, 2011
| Version | Released | |
|---|---|---|
0.50.4
patch
| ||
0.50.3
patch
| ||
0.50.2
patch
| ||
0.50.1
patch
| ||
0.50.0
minor
| ||
0.49.1
patch
| ||
0.49.0
minor
| ||
0.49.0-beta.140
pre
| ||
0.49.0-beta.136
pre
| ||
0.48.1
patch
| ||
0.48.0
minor
| ||
0.47.4
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.47.3
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.47.2
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.47.1
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.47.0
minor
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.4
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.3
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.2
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.1
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.0
minor
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.0-beta.20
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.0-beta.13
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.0-beta.7
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.1
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.46.0-beta.2
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0
minor
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.428
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.427
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.417
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.400
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.380
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.378
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.362
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.352
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.337
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.322
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.6-beta.11
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.6-beta.4
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.5
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.5-beta.27
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.5-beta.20
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.5-beta.14
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.263
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.146
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.4
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.9
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.3
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.45.0-beta.144
pre
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev | ||
0.44.2
patch
1 CVE
CVE-2026-44788
GHSA-6c8g-7p36-r338
May 08, 2026
SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)
5.9
/ 10
Medium
Network
High
None
Required
Unchanged
None
High
Low
SummaryA path traversal vulnerability in DetailsThe vulnerable code is in the directory-entry branch of
No
File entries are not directly affected — they route through Affected archive formats: ZIP and TAR (non-solid). Solid archives and 7-Zip use the reader path which calls the secure method. Escalation to arbitrary file writes (TAR only)
Attack sequence in a single TAR archive:
The library does not validate ZIP does not support symlinks in SharpCompress ( | Attack | ZIP | TAR |
|--------|-----|-----|
| Directory traversal (escape extraction root) | Yes | Yes |
| Escalate to arbitrary file writes via symlink chain | No | Yes (if caller provides Recommended fix — apply the same pattern from
Additionally, the library should validate PoCA self-contained .NET console app is available at:
The PoC crafts a ZIP with three directory entries ( Tested against SharpCompress 0.47.4 (latest NuGet). ImpactThis is a path traversal / zip slip vulnerability (CWE-22). Any application that calls For ZIP archives the impact is limited to arbitrary directory creation, which can be used to stage privilege escalation (e.g. cron drop-ins, XDG config paths, service spool directories) or shadow expected paths to alter application behaviour. For TAR archives, callers that implement a Affected versions
0.10.0
0.10.1
0.10.1.1
0.10.1.3
0.10.2
0.10.3
0.11.0
0.11.1
0.11.2
0.11.3
0.11.4
0.11.5
+ 90 more Show less
0.11.6
0.12.0
0.12.1
0.12.2
0.12.3
0.12.4
0.13.0
0.13.1
0.14.0
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.2.0
0.20.0
0.21.0
0.21.1
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.27.1
0.28.0
0.28.1
0.28.2
0.28.3
0.29.0
0.3.0
0.30.0
0.30.1
0.31.0
0.32.0
0.32.1
0.32.2
0.33.0
0.34.0
0.34.1
0.34.2
0.35.0
0.36.0
0.37.0
0.37.1
0.37.2
0.38.0
0.39.0
0.4.0
0.40.0
0.41.0
0.42.0
0.42.1
0.43.0
0.44.0
0.44.1
0.44.2
0.44.3
0.44.4
0.44.5
0.45.0
0.45.1
0.46.0
0.46.1
0.46.2
0.46.3
0.46.4
0.47.0
0.47.1
0.47.2
0.47.3
0.47.4
0.5.0
0.6.0
0.7.0
0.8.0
0.8.1
0.8.2
0.9.0
Fixed in
0.48.0
References Updated Jul 21, 2026 · Source: OSV.dev |