Description
7-Zip for Windows through 26.02 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.
Published: 2026-06-28
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

7‑Zip for Windows, versions up to 26.02, fails to maintain the Mark‑of‑the‑Web (Zone.Identifier) when extracting a specially crafted RAR5 archive. The implementation only suppresses a data stream named exactly Zone.Identifier, but a RAR5 stream record whose name collapses to :Zone.Identifier:$DATA on NTFS is not blocked; NTFS canonicalizes it to the same stream and overwrites the Internet‑zone marker with ZoneId=0. A subsequent stream named :$DATA then overwrites the default data stream of the extracted file, enabling an attacker to defeat SmartScreen and Mark‑of‑the‑Web warnings and to replace the file’s content with malicious payloads. The flaw is classified as CWE‑693, a failure to preserve inter‑process security state.

Affected Systems

All Windows installations of 7‑Zip version 26.02 or earlier are vulnerable. This includes the portable and installer editions of 7‑Zip 26.02 and earlier releases. The vulnerability is specific to the 7‑Zip extraction engine on Windows and does not affect other operating systems or other archive tools.

Risk and Exploitability

With a CVSS score of 4.8 the flaw is considered medium severity. Exploitation requires the victim to extract a malicious RAR5 archive with 7‑Zip, so it is not a remote code execution vulnerability but can lead to silent malicious file deployment. No EPSS information is available and the issue is not listed in CISA’s KEV catalog, but open‑source proof‑of‑concept code shows that the attack can be carried out manually. Because the denial of the Internet zone marker permits files to bypass Windows SmartScreen and other zone‑aware defenses, the risk to users who routinely extract untrusted archives is significant.

Generated by OpenCVE AI on June 28, 2026 at 03:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade 7‑Zip to the latest stable release (26.04 or newer) which corrects the Zone.Identifier handling.
  • If upgrading is not feasible, avoid extracting RAR5 archives with 7‑Zip; instead use another archive tool that preserves Zone.Identifier correctly or convert the archive to a different format before extraction.
  • After extraction, verify the Zone.Identifier stream of suspicious files – for example, use PowerShell to check the ZoneId value and ensure it remains set to 3 (Internet); if it shows 0, quarantine or delete the file.
  • Configure group policy or local security policy to enforce that files with ZoneId=0 are treated as high‑risk and require administrator approval before execution.

Generated by OpenCVE AI on June 28, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 28 Jun 2026 02:15:00 +0000

Type Values Removed Values Added
Description 7-Zip for Windows through 26.02 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.
Title 7-Zip - Mark-of-the-Web Bypass via RAR5 Alternate Data Stream Name Collision
First Time appeared 7-zip
7-zip 7-zip
Weaknesses CWE-693
CPEs cpe:2.3:a:7-zip:7-zip:*:*:*:*:*:*:*:*
Vendors & Products 7-zip
7-zip 7-zip
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-28T01:32:54.971Z

Reserved: 2026-06-28T00:55:25.426Z

Link: CVE-2026-58052

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-28T06:45:04Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure