{
  "id": "CVE-2026-115905",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-115905",
  "published_at": "2026-10-26T16:24:44.76Z",
  "title": "zip: Critical Parser Differential \u0026 Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite \u0026 RCE",
  "vendor": "zip-rs",
  "product": "zip2",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-28T21:31:02Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 2.2,
    "repo": "cosmonic-labs/demo-zip-rce-sandbox",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "foxcornlab/zip-cloaking-scanner",
      "url": "https://github.com/foxcornlab/zip-cloaking-scanner",
      "created_at": "2026-10-27T07:34:30Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 50,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-09-23T19:37:48Z"
    },
    {
      "repo": "cosmonic-labs/demo-zip-rce-sandbox",
      "url": "https://github.com/cosmonic-labs/demo-zip-rce-sandbox",
      "created_at": "2026-10-28T21:31:02Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-02-07T17:02:56Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "zip-rs",
        "product": "zip2",
        "ranges": [
          "\u003c 9.0.5"
        ],
        "fixed_in": [
          "9.0.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zip2 to 9.0.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/zip-rs/zip2/security/advisories/GHSA-m665-v7pm-7grj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/zip-rs/zip2/commit/8068ab480ccf8daa7411424e365fcdbe6d09443e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/zip-rs/zip2/releases/tag/v9.0.5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/run",
      "query_markers": [
        "mode=all"
      ],
      "ports": [
        8200
      ],
      "protocol": "http",
      "repos": [
        "cosmonic-labs/demo-zip-rce-sandbox"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cosmonic-labs/demo-zip-rce-sandbox/README.md:70",
        "cosmonic-labs/demo-zip-rce-sandbox/cosmonic-app/README.md:68"
      ]
    },
    {
      "method": "POST",
      "path_template": "/run",
      "body_markers": [
        "@your.zip"
      ],
      "content_type": "application/zip",
      "ports": [
        8200
      ],
      "protocol": "http",
      "repos": [
        "cosmonic-labs/demo-zip-rce-sandbox"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cosmonic-labs/demo-zip-rce-sandbox/README.md:73"
      ]
    }
  ],
  "rules": []
}
