CVE-2026-58052 7-Zip - Mark-of-the-Web Bypass via RAR5 Alternate Data Stream Name Collision
Attackers can bypass Mark-of-the-Web and SmartScreen warnings in 7-Zip by crafting RAR5 archives with specific alternate data stream names.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-58052?
CVE-2026-58052 is a medium-severity vulnerability in 7-Zip, published on 28 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
7-Zip for Windows through 26.01 fails to preserve the Mark-of-the-Web when extracting a crafted RAR5 archive, because its guard that suppresses an archive-supplied Zone.Identifier stream matches the exact name 'Zone.Identifier' while a RAR5 STM record named ':Zone.Identifier:$DATA' is not matched and NTFS canonicalizes it to the same stream, overwriting the propagated Internet-zone marker with ZoneId=0. A second STM record named '::$DATA' overwrites the extracted file's default data stream, letting an attacker defeat SmartScreen/MotW warnings and spoof file content.
Weakness: CWE-693
Which versions are affected by CVE-2026-58052?
It affects 1 product.
Linux distribution packages (2)
7zip openSUSE:Tumbleweed | All versions | 26.03-1.1 |
lzma-sdk openSUSE:Tumbleweed | All versions | 26.03-1.1 |
Products include 7-Zip 7-Zip.
How do I fix CVE-2026-58052?
Upgrade to a fixed version.
Is CVE-2026-58052 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58052 exists.
Other vulnerabilities in 7-Zip
Sources
Also known as DEBIAN-CVE-2026-58052, GHSA-fx33-p83c-vpr5, JLSEC-2026-1169, MINI-x8pg-5c25-pcmm, openSUSE-SU-2026:11777-1, openSUSE-SU-2026:11792-1.