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
Published
2026-09-23T07:16:00Z
Modified
2026-09-24T02:00:14Z
Severity
  • Ubuntu - medium
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:20.04:LTS / buildstream

Package

Name
buildstream
Purl
pkg:deb/ubuntu/buildstream?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.4.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.4.1-1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.4.1-1"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / buildstream

Package

Name
buildstream
Purl
pkg:deb/ubuntu/buildstream?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.6.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.6.1-1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.6.1-1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / buildstream

Package

Name
buildstream
Purl
pkg:deb/ubuntu/buildstream?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.6.9-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "buildstream",
            "binary_version":  "1.6.9-1"
        },
        {
            "binary_name":  "python3-buildstream",
            "binary_version":  "1.6.9-1"
        }
    ]
}

Database specific

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