Skip to content
Heist/ feed
UnratedFix available

ALPINE-CVE-2026-33056

Type: advisorySource: OSV1 source record

tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

Announced Group revision 1
Original source ↗

ALPINE-CVE-2026-33056

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:ALPINE-CVE-2026-33056

rust

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
1.78.0-r1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

rust

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
1.83.0-r1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

rust

Source reference: /affected/2/package/name

Affected versions
Not stated in this record
Fixed versions
1.87.0-r1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

rust

Source reference: /affected/3/package/name

Affected versions
Not stated in this record
Fixed versions
1.91.1-r1

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

rust

Source reference: /affected/4/package/name

Affected versions
Not stated in this record
Fixed versions
1.94.0-r1

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.78.0-r1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust",
      "purl": "pkg:apk/alpine/rust?arch=source",
      "ecosystem": "Alpine:v3.20"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-33056.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.83.0-r1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust",
      "purl": "pkg:apk/alpine/rust?arch=source",
      "ecosystem": "Alpine:v3.21"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-33056.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.87.0-r1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust",
      "purl": "pkg:apk/alpine/rust?arch=source",
      "ecosystem": "Alpine:v3.22"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-33056.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.91.1-r1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust",
      "purl": "pkg:apk/alpine/rust?arch=source",
      "ecosystem": "Alpine:v3.23"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-33056.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.94.0-r1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust",
      "purl": "pkg:apk/alpine/rust?arch=source",
      "ecosystem": "Alpine:v3.24"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-33056.json"
    },
    "ecosystem_specific": {}
  }
]

Publisher severity

No explicit severity was provided.

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