{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-104813",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-10-02T13:56:55.854Z",
        "datePublished": "2026-11-24T11:41:02.054Z",
        "dateUpdated": "2026-11-24T11:41:02.054Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-11-24T11:41:02.054Z"
            },
            "title": "Apache BuildStream: path traversal via unvalidated CAS Directory",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-22 Improper limitation of a pathname to a restricted directory ('path traversal')",
                            "lang": "en",
                            "cweId": "CWE-22",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache BuildStream",
                    "packageURL": "pkg:pypi/BuildStream",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThanOrEqual": "2.8.1",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "collectionURL": "https://pypi.python.org",
                    "packageName": "buildstream"
                }
            ],
            "descriptions": [
                {
                    "value": "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`.\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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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`.<br><br>The impact of this issue is mitigated by:</p><ul><li>BuildStream projects should only use trusted servers for remote cache and remote execution as otherwise the build output can also not be trusted</li></ul>This issue affects Apache BuildStream: through 2.8.1.<br>Users are recommended to upgrade to version 2.8.2, which fixes the issue.<p></p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://lists.apache.org/thread.html/7l4mswynvvf3z9jp43kyky2zh23y98tt",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "other": {
                        "type": "Textual description of severity",
                        "content": {
                            "text": "moderate"
                        }
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "MopMonk AI",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 1.0.3"
            }
        }
    }
}