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.
References
| Link | Resource |
|---|---|
| https://github.com/bikini/exploitarium/tree/main/7zip-rar5-motw-chain-poc | Broken Link |
| https://github.com/ip7z/7zip | Product |
| https://www.vulncheck.com/advisories/7-zip-mark-of-the-web-bypass-via-rar5-alternate-data-stream-name-collision | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-06-28 02:16
Updated : 2026-08-07 20:47
NVD link : CVE-2026-58052
Mitre link : CVE-2026-58052
CVE.ORG link : CVE-2026-58052
JSON object : View
Products Affected
7-zip
- 7-zip
CWE
CWE-693
Protection Mechanism Failure
