Search
Find a vulnerability
Search criteria
6 vulnerabilities found for Apache BuildStream by Apache Software Foundation
CVE-2026-111600 (GCVE-0-2026-111600)
Vulnerability from nvd – Published: 2026-11-24 11:41 – Updated: 2026-11-24 16:06
VLAI
EPSS
VEX
Title
Apache BuildStream: symlink following via plugin API
Summary
UNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, 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
* None of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable `open_file` method
This issue affects Apache BuildStream: through 2.8.1.
Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Severity
No CVSS data available.
CWE
- CWE-61 - UNIX symbolic link (symlink) following
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://lists.apache.org/thread.html/ogklnxxl2toq… | vendor-advisory |
| http://www.openwall.com/lists/oss-security/2026/1… |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.1
(semver)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2026-11-24T16:06:52.585Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/11/24/10"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "CyberLeo"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, as part of source fetching.\u003cbr\u003e\u003cbr\u003eThe impact of this issue is mitigated by:\u003c/p\u003e\u003cul\u003e\u003cli\u003eBuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\u003c/li\u003e\u003cli\u003eNone of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable\u0026nbsp;`open_file`\u0026nbsp;method\u003c/li\u003e\u003c/ul\u003eThis issue affects Apache BuildStream: through 2.8.1.\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 2.8.2, which fixes the issue.\u003cp\u003e\u003c/p\u003e"
}
],
"value": "UNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, as part of source fetching.\n\nThe impact of this issue is mitigated by:\n\n * BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\n * None of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable\u00a0`open_file`\u00a0method\n\n\nThis issue affects Apache BuildStream: through 2.8.1.\n\nUsers are recommended to upgrade to version 2.8.2, which fixes the issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-61",
"description": "CWE-61 UNIX symbolic link (symlink) following",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T11:41:29.767Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread.html/ogklnxxl2toqx75o7y0ccqxmt8lxkf01"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "Apache BuildStream: symlink following via plugin API",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-111600",
"datePublished": "2026-11-24T11:41:29.767Z",
"dateReserved": "2026-10-16T14:12:55.578Z",
"dateUpdated": "2026-11-24T16:06:52.585Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-104813 (GCVE-0-2026-104813)
Vulnerability from nvd – Published: 2026-11-24 11:41 – Updated: 2026-11-24 16:06
VLAI
EPSS
VEX
Title
Apache BuildStream: path traversal via unvalidated CAS Directory
Summary
Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.
The impact of this issue is mitigated by:
* BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted
This issue affects Apache BuildStream: through 2.8.1.
Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Severity
No CVSS data available.
CWE
- CWE-22 - Improper limitation of a pathname to a restricted directory ('path traversal')
Assigner
References
2 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.1
(semver)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2026-11-24T16:06:51.113Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/11/24/9"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "MopMonk AI"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eImproper limitation of a pathname to a restricted directory (\u0027path traversal\u0027) vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.\u003cbr\u003e\u003cbr\u003eThe impact of this issue is mitigated by:\u003c/p\u003e\u003cul\u003e\u003cli\u003eBuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted\u003c/li\u003e\u003c/ul\u003eThis issue affects Apache BuildStream: through 2.8.1.\u003cbr\u003eUsers are recommended to upgrade to version 2.8.2, which fixes the issue.\u003cp\u003e\u003c/p\u003e"
}
],
"value": "Improper limitation of a pathname to a restricted directory (\u0027path traversal\u0027) vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.\n\nThe impact of this issue is mitigated by:\n\n * BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted\n\n\nThis issue affects Apache BuildStream: through 2.8.1.\nUsers are recommended to upgrade to version 2.8.2, which fixes the issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22 Improper limitation of a pathname to a restricted directory (\u0027path traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T11:41:02.054Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread.html/7l4mswynvvf3z9jp43kyky2zh23y98tt"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Apache BuildStream: path traversal via unvalidated CAS Directory",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-104813",
"datePublished": "2026-11-24T11:41:02.054Z",
"dateReserved": "2026-10-02T13:56:55.854Z",
"dateUpdated": "2026-11-24T16:06:51.113Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-82331 (GCVE-0-2026-82331)
Vulnerability from nvd – Published: 2026-09-23 06:58 – Updated: 2026-09-23 16:08
VLAI
EPSS
VEX
Title
Apache BuildStream: tar source extraction escape
Summary
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.
Severity
9.8 (Critical)
SSVC
Exploitation: none
Automatable: yes
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-23 14:55 UTC
CWE
- CWE-59 - Improper link resolution before file access ('link following')
Assigner
References
2 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.0
(semver)
Unaffected: 2.8.1 (semver) |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-82331",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-23T14:55:37.367789Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-23T14:55:54.267Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2026-09-23T16:08:58.171Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/09/23/9"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.0",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "2.8.1",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Gjoko Krstic of Zero Science Lab"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Improper link resolution before file access (\u0027link following\u0027) vulnerability in the `tar` source plugin of Apache BuildStream running on Python \u0026lt; 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.\u003cbr\u003e\u003cdiv\u003eThe impact of this issue is mitigated by:\u003c/div\u003e* BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\u003cbr\u003e* Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project\u003cbr\u003e* When running on Python \u0026gt;= 3.12, BuildStream \u0026gt;= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 2.8.1, which fixes this issue."
}
],
"value": "Improper link resolution before file access (\u0027link following\u0027) vulnerability in the `tar` source plugin of Apache BuildStream running on Python \u003c 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.\nThe impact of this issue is mitigated by:\n\n* BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\n* Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project\n* When running on Python \u003e= 3.12, BuildStream \u003e= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape\n\nUsers are recommended to upgrade to version 2.8.1, which fixes this issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-59",
"description": "CWE-59 Improper link resolution before file access (\u0027link following\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-23T06:58:21.546Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread/9b342631x7bvtyg0pq7zgywtl2cmy34v"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Apache BuildStream: tar source extraction escape",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-82331",
"datePublished": "2026-09-23T06:58:21.546Z",
"dateReserved": "2026-08-28T14:59:00.996Z",
"dateUpdated": "2026-09-23T16:08:58.171Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-111600 (GCVE-0-2026-111600)
Vulnerability from cvelistv5 – Published: 2026-11-24 11:41 – Updated: 2026-11-24 16:06
VLAI
EPSS
VEX
Title
Apache BuildStream: symlink following via plugin API
Summary
UNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, 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
* None of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable `open_file` method
This issue affects Apache BuildStream: through 2.8.1.
Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Severity
No CVSS data available.
CWE
- CWE-61 - UNIX symbolic link (symlink) following
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://lists.apache.org/thread.html/ogklnxxl2toq… | vendor-advisory |
| http://www.openwall.com/lists/oss-security/2026/1… |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.1
(semver)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2026-11-24T16:06:52.585Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/11/24/10"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "CyberLeo"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, as part of source fetching.\u003cbr\u003e\u003cbr\u003eThe impact of this issue is mitigated by:\u003c/p\u003e\u003cul\u003e\u003cli\u003eBuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\u003c/li\u003e\u003cli\u003eNone of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable\u0026nbsp;`open_file`\u0026nbsp;method\u003c/li\u003e\u003c/ul\u003eThis issue affects Apache BuildStream: through 2.8.1.\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 2.8.2, which fixes the issue.\u003cp\u003e\u003c/p\u003e"
}
],
"value": "UNIX symbolic link (symlink) following vulnerability in Apache BuildStream allows source plugins to inadvertently read or write files on the host, with the privileges of the user running BuildStream, via symlinks from malicious or compromised source archives or respositories, as part of source fetching.\n\nThe impact of this issue is mitigated by:\n\n * BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\n * None of the source plugins in the buildstream, buildstream-plugins or buildstream-plugins-community repositories use the vulnerable\u00a0`open_file`\u00a0method\n\n\nThis issue affects Apache BuildStream: through 2.8.1.\n\nUsers are recommended to upgrade to version 2.8.2, which fixes the issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-61",
"description": "CWE-61 UNIX symbolic link (symlink) following",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T11:41:29.767Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread.html/ogklnxxl2toqx75o7y0ccqxmt8lxkf01"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "Apache BuildStream: symlink following via plugin API",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-111600",
"datePublished": "2026-11-24T11:41:29.767Z",
"dateReserved": "2026-10-16T14:12:55.578Z",
"dateUpdated": "2026-11-24T16:06:52.585Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-104813 (GCVE-0-2026-104813)
Vulnerability from cvelistv5 – Published: 2026-11-24 11:41 – Updated: 2026-11-24 16:06
VLAI
EPSS
VEX
Title
Apache BuildStream: path traversal via unvalidated CAS Directory
Summary
Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.
The impact of this issue is mitigated by:
* BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted
This issue affects Apache BuildStream: through 2.8.1.
Users are recommended to upgrade to version 2.8.2, which fixes the issue.
Severity
No CVSS data available.
CWE
- CWE-22 - Improper limitation of a pathname to a restricted directory ('path traversal')
Assigner
References
2 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.1
(semver)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2026-11-24T16:06:51.113Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/11/24/9"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "MopMonk AI"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eImproper limitation of a pathname to a restricted directory (\u0027path traversal\u0027) vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.\u003cbr\u003e\u003cbr\u003eThe impact of this issue is mitigated by:\u003c/p\u003e\u003cul\u003e\u003cli\u003eBuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted\u003c/li\u003e\u003c/ul\u003eThis issue affects Apache BuildStream: through 2.8.1.\u003cbr\u003eUsers are recommended to upgrade to version 2.8.2, which fixes the issue.\u003cp\u003e\u003c/p\u003e"
}
],
"value": "Improper limitation of a pathname to a restricted directory (\u0027path traversal\u0027) vulnerability in Apache BuildStream allows malicious or compromised artifact or execution servers to write files on the host, with the privileges of the user running BuildStream, as part of `bst artifact checkout`.\n\nThe impact of this issue is mitigated by:\n\n * BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted\n\n\nThis issue affects Apache BuildStream: through 2.8.1.\nUsers are recommended to upgrade to version 2.8.2, which fixes the issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22 Improper limitation of a pathname to a restricted directory (\u0027path traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T11:41:02.054Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread.html/7l4mswynvvf3z9jp43kyky2zh23y98tt"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Apache BuildStream: path traversal via unvalidated CAS Directory",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-104813",
"datePublished": "2026-11-24T11:41:02.054Z",
"dateReserved": "2026-10-02T13:56:55.854Z",
"dateUpdated": "2026-11-24T16:06:51.113Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-82331 (GCVE-0-2026-82331)
Vulnerability from cvelistv5 – Published: 2026-09-23 06:58 – Updated: 2026-09-23 16:08
VLAI
EPSS
VEX
Title
Apache BuildStream: tar source extraction escape
Summary
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.
Severity
9.8 (Critical)
SSVC
Exploitation: none
Automatable: yes
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-23 14:55 UTC
CWE
- CWE-59 - Improper link resolution before file access ('link following')
Assigner
References
2 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Apache Software Foundation | Apache BuildStream |
Affected:
0 , ≤ 2.8.0
(semver)
Unaffected: 2.8.1 (semver) |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-82331",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-09-23T14:55:37.367789Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-09-23T14:55:54.267Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2026-09-23T16:08:58.171Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/09/23/9"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pypi.python.org",
"defaultStatus": "unaffected",
"packageName": "buildstream",
"packageURL": "pkg:pypi/BuildStream",
"product": "Apache BuildStream",
"vendor": "Apache Software Foundation",
"versions": [
{
"lessThanOrEqual": "2.8.0",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "2.8.1",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Gjoko Krstic of Zero Science Lab"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "Improper link resolution before file access (\u0027link following\u0027) vulnerability in the `tar` source plugin of Apache BuildStream running on Python \u0026lt; 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.\u003cbr\u003e\u003cdiv\u003eThe impact of this issue is mitigated by:\u003c/div\u003e* BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\u003cbr\u003e* Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project\u003cbr\u003e* When running on Python \u0026gt;= 3.12, BuildStream \u0026gt;= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 2.8.1, which fixes this issue."
}
],
"value": "Improper link resolution before file access (\u0027link following\u0027) vulnerability in the `tar` source plugin of Apache BuildStream running on Python \u003c 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.\nThe impact of this issue is mitigated by:\n\n* BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted\n* Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project\n* When running on Python \u003e= 3.12, BuildStream \u003e= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape\n\nUsers are recommended to upgrade to version 2.8.1, which fixes this issue."
}
],
"metrics": [
{
"other": {
"content": {
"text": "moderate"
},
"type": "Textual description of severity"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-59",
"description": "CWE-59 Improper link resolution before file access (\u0027link following\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-23T06:58:21.546Z",
"orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"shortName": "apache"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://lists.apache.org/thread/9b342631x7bvtyg0pq7zgywtl2cmy34v"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Apache BuildStream: tar source extraction escape",
"x_generator": {
"engine": "Vulnogram 1.0.3"
}
}
},
"cveMetadata": {
"assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
"assignerShortName": "apache",
"cveId": "CVE-2026-82331",
"datePublished": "2026-09-23T06:58:21.546Z",
"dateReserved": "2026-08-28T14:59:00.996Z",
"dateUpdated": "2026-09-23T16:08:58.171Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}