Zip-rs zip2
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 9.0.5
Fixed in 9.0.5
Mitigation
Upgrade zip2 to 9.0.5 or later.
References
- Vendor advisory github.com/zip-rs/zip2/security/advisories/GHS…
- Patch github.com/zip-rs/zip2/commit/8068ab480ccf8daa…
- Release notes github.com/zip-rs/zip2/releases/tag/v9.0.5
Timeline
Days relative to CVE publicationFirst public PoC 2.2 days after publication; not in CISA KEV. First PoC: cosmonic-labs/demo-zip-rce-sandbox (created 28 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs · 1 suspicious or fake
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cosmonic-labs/demo-zip-rce-sandbox | 28 Oct 2026 +2.2 d | 14 Nov 2026 | 1 | PoC
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| foxcornlab/zip-cloaking-scanner | 27 Oct 2026 +15 h | 14 Nov 2026 | 0 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /run
- Query
mode=all- Ports
- 8200
- Seen in
- 1 repo: cosmonic-labs/demo-zip-rce-sandbox
- Evidence
- cosmonic-labs/demo-zip-rce-sandbox/README.md:70 cosmonic-labs/demo-zip-rce-sandbox/cosmonic-app/README.md:68
POST /run
- Body markers
@your.zipinapplication/zip- Ports
- 8200
- Seen in
- 1 repo: cosmonic-labs/demo-zip-rce-sandbox
- Evidence
- cosmonic-labs/demo-zip-rce-sandbox/README.md:73
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/run\?(?:.*&)?mode=all
(?i)^/run(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8200] (msg:"GG PoC-Monitor CVE-2026-115905 zip-rs zip2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/run"; http.uri; content:"mode=all"; reference:url,poc.griffinguard.io/cve/CVE-2026-115905; classtype:web-application-attack; sid:9013150; rev:1;)
alert http any any -> $HOME_NET [8200] (msg:"GG PoC-Monitor CVE-2026-115905 zip-rs zip2 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/run"; http.request_body; content:"@your.zip"; reference:url,poc.griffinguard.io/cve/CVE-2026-115905; classtype:web-application-attack; sid:9174772; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: zip-rs zip2 exploit attempt (CVE-2026-115905)
id: gg-pocmon-cve-2026-115905-9013150
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-115905. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-115905
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/run'
cs-uri-query|contains|all:
- 'mode=all'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.115905
title: zip-rs zip2 exploit attempt (CVE-2026-115905)
id: gg-pocmon-cve-2026-115905-9174772
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-115905. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-115905
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/run'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.115905