UBUNTU-CVE-2026-82331

Source
https://ubuntu.com/security/CVE-2026-82331
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82331.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-82331
Upstream
  • CVE-2026-82331
Downstream
Related
Published
2026-09-23T07:16:00Z
Modified
2026-11-24T14:56:30Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

Improper link resolution before file access ('link following') vulnerability in the tar source plugin of Apache BuildStream running on Python < 3.12 allows malicious source tarballs to write files on the host, with the privileges of the user running BuildStream, via symlinks as part of source fetching. The impact of this issue is mitigated by: * BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted * Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project * When running on Python >= 3.12, BuildStream >= 2.3.0 already makes use of the Python tarfile filter functionality, which blocks the symlink escape Users are recommended to upgrade to version 2.8.1, which fixes this issue.

References

Affected packages

Ubuntu:Pro:20.04:LTS / buildstream

Package

Name
buildstream
Purl
pkg:deb/ubuntu/buildstream?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.1-1ubuntu0.1~esm1

Affected versions

1.*
1.4.1-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.4.1-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.4.1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Ubuntu:Pro:22.04:LTS / buildstream

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6.1-1ubuntu0.1~esm1

Affected versions

1.*
1.6.1-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.6.1-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.6.1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

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

Ubuntu:Pro:24.04:LTS / buildstream

Package

Name
buildstream
Purl
pkg:deb/ubuntu/buildstream?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.6.9-1ubuntu0.1~esm1

Affected versions

1.*
1.6.9-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.6.9-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.6.9-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

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