UBUNTU-CVE-2026-70622

Source
https://ubuntu.com/security/CVE-2026-70622
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70622.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-70622
Upstream
Published
2026-08-10T18:18:00Z
Modified
2026-08-13T03:01:04.535136245Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::appenddirall() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.

References

Affected packages

Ubuntu:Pro:20.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.26-1
0.4.26-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.26-1ubuntu0.1",
            "binary_name": "librust-tar+default-dev"
        },
        {
            "binary_version": "0.4.26-1ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70622.json"

Ubuntu:Pro:22.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.26-1
0.4.37-1
0.4.37-3
0.4.37-3ubuntu0.1~esm1
0.4.37-3ubuntu0.1
0.4.37-3ubuntu0.1+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.37-3ubuntu0.1+esm1",
            "binary_name": "librust-tar+default-dev"
        },
        {
            "binary_version": "0.4.37-3ubuntu0.1+esm1",
            "binary_name": "librust-tar-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70622.json"

Ubuntu:24.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.38-2
0.4.40-1
0.4.40-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.40-1ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70622.json"

Ubuntu:26.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.4.43-4
0.4.44-1
0.4.45-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.45-1",
            "binary_name": "librust-tar-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-70622.json"