Skip to main content

Apache BuildStream EUVDEUVD-2026-133842

| CVE-2026-104813 MEDIUM
Path Traversal (CWE-22)
2026-11-24 apache GHSA-hhpx-4vrg-qr8v
5.4
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls/compromises artifact or execution server
  2. Delivery
    Victim runs `bst artifact checkout` against it
  3. Exploit
    Server returns artifact with traversal pathnames
  4. Execution
    BuildStream writes files outside target dir
  5. Impact
    Arbitrary file write as invoking user (possible code execution)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that BuildStream be pointed at an untrusted remote artifact cache OR remote-execution server that is malicious or compromised, AND that the victim then invoke bst artifact checkout; the path-traversal write occurs during that checkout and lands with the privileges of the user running BuildStream. Limiting factors that reduce real-world risk: the attacker must already control a server the victim's project trusts (the vendor's stated mitigation is to use only trusted servers for remote cache/remote execution), the victim must actively run the checkout command (user interaction), and only versions through 2.8.1 are affected - 2.8.2 fixes it. It is NOT remotely exploitable against a default, internet-exposed BuildStream service without this malicious-server trust precondition.

Impact

No CVSS score or vector is provided in the input (CVSS: N/A), so attack-vector, complexity, and privilege signals must be inferred from the description rather than read from an authoritative metric - authentication requirements are therefore not confirmed from vendor-supplied data. There is no EPSS score, no CISA KEV listing, and no PoC/exploit reference in the sources, so by the precision rules this is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-non-emergency issue. The crucial risk-limiting factor is structural: exploitation requires the victim to connect a BuildStream client to a MALICIOUS or COMPROMISED artifact-cache/remote-execution server and then run bst artifact checkout - it is not remote-unauthenticated code execution against an exposed service. This makes it a supply-chain/trust-boundary flaw rather than a mass-scannable internet vulnerability: impact is real (arbitrary file write on the host as the invoking user, with plausible escalation to code execution) but realistic exploitation is gated on the victim already trusting a server the attacker controls. Net: moderate priority - patch within a normal cycle; it is not a drop-everything emergency on the available signals.

Exploit ScenarioDerived

A developer or CI pipeline configures BuildStream to pull from a remote artifact cache or remote-execution server that is attacker-controlled or has been compromised. When the victim runs bst artifact checkout, the malicious server returns an artifact containing crafted pathnames with traversal sequences, causing BuildStream to write files outside the intended checkout directory anywhere the invoking user can write. No public exploit code or PoC reference is present in the provided sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Path traversal in Apache BuildStream through 2.8.1 allows a malicious or compromised remote artifact cache or remote-execution server to write files on the host, with the privileges of the user running BuildStream, when that user runs bst artifact checkout. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N) is integrity-only: the attacker controls a server the project trusts and the victim must actively run the checkout command, so confidentiality and availability impacts are not established, and no public exploit has been identified at time of analysis. The vendor restricts the exposure with a usage constraint rather than a code-only fix path: projects should only use trusted servers for remote cache and remote execution.

RemediationAI

Upgrade to Apache BuildStream 2.8.2, which the vendor states fixes the issue (advisory: https://lists.apache.org/thread.html/7l4mswynvvf3z9jp43kyky2zh23y98tt). The vendor's stated mitigation for deployments that cannot upgrade immediately is configuration-based: only use trusted servers for remote cache and remote execution, because a hostile or compromised endpoint can corrupt build output as well as supply the traversal pathname - the trade-off is that this removes the flexibility of pointing projects at third-party or shared community caches, which must then be treated as untrusted and excluded. Note that the write occurs during bst artifact checkout with the privileges of the user running BuildStream, so running checkouts under a low-privilege account or in a disposable container limits what an escaped write can reach, at the cost of extra operational overhead. The decision signal from the aggregated intelligence is this_month; no vendor workaround beyond server trust restriction is documented.

Affected VersionsENISA

Apache BuildStream 0 ≤2.8.1

Affected Packages

euvd apache_buildstream no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-22, improper limitation of a pathname to a restricted directory. BuildStream is a build and integration tool that can pull build artifacts from a remote artifact cache and dispatch work to a remote-execution server; artifact content and filenames originate from that remote endpoint and are materialised on the local filesystem during bst artifact checkout. Because pathnames coming from the remote side are not confined to the intended checkout directory, a malicious or compromised endpoint can supply entries that escape it and write files elsewhere with the invoking user's privileges. The available sources do not describe which specific field or manifest entry carries the traversal sequence, so the exact trigger is not detailed here. CPE data (cpe:2.3:a:apache_software_foundation:apache_buildstream, wildcarded version) is generic, while the vendor advisory pins the affected range to releases through 2.8.1. The dependency on an attacker-controlled server is inherent to the architecture: the same trust relationship that lets a remote cache or execution service supply build output also lets it supply hostile path data.

Know when Apache Buildstream gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 6.5 MEDIUM

Malicious remote server needs no victim-host privileges (PR:N) but the victim must run `bst artifact checkout` (UI:R); straightforward traversal (AC:L) yields arbitrary host file write (I:H), with no direct read (C:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
CVSS changed
Nov 30, 2026 - 15:22 NVD
5.4 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.7%
Top 53% exploitable
Prevalence
Low
niche developer/CI build-and-integration tool, limited enterprise production footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy