# CVE-2026-58052: 7-Zip Mark-of-the-Web bypass in RAR5 extraction

Source: https://junglewise.ai/threats/cve-2026-58052-7-zip-mark-of-the-web-bypass-in-rar5-extraction  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-28. Updated: 2026-06-28  
License: CC BY 4.0 with a link back

CVE-2026-58052 · Severity: low · CVSS 3.3 · Published 2026-06-28

7-Zip is a popular file compression and extraction utility. A vulnerability in how it handles certain archive files allows an attacker to bypass Windows security warnings (Mark-of-the-Web) and modify the contents of extracted files without the user's knowledge. This could lead to a user unknowingly running malicious files that they believe are safe or have been vetted by system security checks like SmartScreen.

Technologies: [7-Zip](https://junglewise.ai/threats/technologies/7-zip). Vendors: [7-Zip](https://junglewise.ai/threats/vendors/7-zip).

## Quick answers

**Is CVE-2026-58052 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-58052 being exploited in the wild.

**How severe is CVE-2026-58052?** Low severity, with a CVSS score of 3.3, published 28 June 2026.

**Which products and versions are affected?** 7-Zip through 26.02.

**Is there a fix for CVE-2026-58052?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-58052 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2026-58052?** Check whether you run 7-Zip at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

7-Zip for Windows (through version 26.02) contains a protection mechanism failure when extracting RAR5 archives containing Alternate Data Streams (ADS). The application attempts to suppress archive-supplied 'Zone.Identifier' streams to ensure the system's own Mark-of-the-Web (MotW) is propagated; however, it uses an exact string match. An attacker can use the NTFS-canonicalized name ':Zone.Identifier:$DATA' to bypass this check, overwriting the MotW with a 'ZoneId=0' (Trusted) marker. Additionally, using the '::$DATA' stream name allows an attacker to overwrite the primary file data. This combination enables the delivery of malicious payloads that bypass SmartScreen and other MotW-based security controls. Exploitation requires a user to extract a specially crafted RAR5 archive.

## Affected products

- 7-Zip 7-Zip through 26.02

## Timeline

- 2026-06-27: disclosed: Initial disclosure by VulnCheck
- 2026-06-28: advisory: NVD publication date

## References

- [https://github.com/bikini/exploitarium/tree/main/7zip-rar5-motw-chain-poc](https://github.com/bikini/exploitarium/tree/main/7zip-rar5-motw-chain-poc)
- [https://github.com/ip7z/7zip](https://github.com/ip7z/7zip)
- [https://www.vulncheck.com/advisories/7-zip-mark-of-the-web-bypass-via-rar5-alternate-data-stream-name-collision](https://www.vulncheck.com/advisories/7-zip-mark-of-the-web-bypass-via-rar5-alternate-data-stream-name-collision)

## Related threats

- [7-Zip heap overflow in XZ decompression](https://junglewise.ai/threats/cve-2026-14266-7-zip-heap-overflow-in-xz-decompression)
- [7-Zip heap out-of-bounds read in Ar and SquashFS handlers](https://junglewise.ai/threats/cve-2026-48112-7-zip-heap-out-of-bounds-read-in-ar-and-squashfs-handlers)
- [7-Zip out-of-bounds read in UEFI firmware image parser](https://junglewise.ai/threats/cve-2026-48111-7-zip-out-of-bounds-read-in-uefi-firmware-image-parser)
- [7-Zip heap out-of-bounds read in WIM archive handler](https://junglewise.ai/threats/cve-2026-48103-7-zip-heap-out-of-bounds-read-in-wim-archive-handler)
- [7-Zip heap out-of-bounds read in UDF disc image handler](https://junglewise.ai/threats/cve-2026-48102-7-zip-heap-out-of-bounds-read-in-udf-disc-image-handler)
