UBUNTU-CVE-2026-31802

Source
https://ubuntu.com/security/CVE-2026-31802
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-31802
Upstream
Published
2026-03-10T07:44:00Z
Modified
2026-03-20T08:07:44.371907Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.

References

Affected packages

Ubuntu:18.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@2.2.1-1?arch=source&distro=bionic

Affected ranges

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

Affected versions

2.*
2.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "2.2.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:22.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@6.1.11+ds1+~cs6.0.6-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

6.*
6.1.7+~cs11.3.10-1
6.1.11+~cs11.3.10-1
6.1.11+ds1+~cs6.0.6-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "6.1.11+ds1+~cs6.0.6-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:24.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@6.1.13+~cs7.0.5-3?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*
6.1.13+~cs7.0.5-1
6.1.13+~cs7.0.5-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "6.1.13+~cs7.0.5-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:25.10
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@6.2.1+~cs7.0.8-1?arch=source&distro=questing

Affected ranges

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

Affected versions

6.*
6.2.1+~cs7.0.8-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "6.2.1+~cs7.0.8-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:Pro:14.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@0.1.18-1ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

0.*
0.1.18-1
0.1.18-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "0.1.18-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:Pro:16.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@1.0.3-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*
1.0.3-2
1.0.3-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "1.0.3-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-31802.json"
Ubuntu:Pro:20.04:LTS
node-tar

Package

Name
node-tar
Purl
pkg:deb/ubuntu/node-tar@4.4.10+ds1-2ubuntu1+esm1?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

4.*
4.4.10+ds1-2
4.4.10+ds1-2ubuntu1
4.4.10+ds1-2ubuntu1+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-tar",
            "binary_version": "4.4.10+ds1-2ubuntu1+esm1"
        }
    ]
}

Database specific

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