Skip to content
Heist/ feed
UnratedFix available

`uncbv`: archive extraction is vulnerable to path traversal (zip-slip)

Type: advisorySource: OSV1 source record

### Summary `uncbv extract` writes each archive entry to `output_dir.join(entry_filename)` using the filename stored in the archive with no check for `..` components or absolute paths. A malicious `.cbv` / `.cbz` archive whose entry name contains `../` (or an absolute path) can therefore cause files to be written outside the output directory chosen by the user. This is a "zip-slip" / directory-traversal arbitrary file write (CWE-22).

Announced Group revision 1
Original source ↗

RUSTSEC-2026-0307

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:RUSTSEC-2026-0307

uncbv

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
0.3.1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0.0.0-0"
          },
          {
            "fixed": "0.3.1"
          }
        ]
      }
    ],
    "package": {
      "name": "uncbv",
      "purl": "pkg:cargo/uncbv",
      "ecosystem": "crates.io"
    },
    "database_specific": {
      "cvss": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
      "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0307.json",
      "categories": [
        "code-execution"
      ],
      "informational": null
    },
    "ecosystem_specific": {
      "affects": {
        "os": [],
        "arch": [],
        "functions": []
      },
      "affected_functions": null
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#6112 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement