Skip to main content

BOSH Agent CVE-2026-41861

| EUVDEUVD-2026-54219 MEDIUM
Path Traversal (CWE-22)
2026-08-06 security@vmware.com GHSA-hr6c-84vf-jf53
4.2
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Gain IaaS metadata write access
  2. Delivery
    Inject path traversal in network Alias value
  3. Exploit
    Trigger BOSH agent network reconfiguration
  4. Execution
    Agent writes root-owned .network file to traversed path
  5. Persist
    Create 0777 parent directories
  6. Impact
    Disrupt or hijack systemd-networkd config

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

The attacker must control or manipulate the IaaS metadata layer accessible to the target BOSH-managed VM (e.g., AWS EC2 user-data, GCP instance metadata, or equivalent). The target VM must be running the BOSH agent on Ubuntu (jammy or noble) at a version below v2.847.0. The agent must be in a state where it processes network Alias configuration - typically during initial VM bootstrap or BOSH-triggered network reconfiguration. The path traversal destination is constrained: the final path component must end in '.network', and the file body is only partially attacker-controlled. High attack complexity (AC:H per CVSS) limits opportunistic exploitation; this requires deliberate IaaS-layer positioning. The attack does not require authentication to the BOSH agent itself, but does require IaaS metadata write/inject access, which limits the realistic attacker population to those with IaaS tenant compromise, insider access, or a chained SSRF vulnerability.

Impact

The CVSS 3.1 base score of 4.2 (AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L) reflects an adjacent-network attack requiring high complexity, which significantly constrains real-world exploitability. An attacker must occupy a privileged IaaS-metadata position - controlling the hypervisor tenant metadata or executing an SSRF that reaches the metadata endpoint - rather than simply being on an adjacent LAN. The integrity and availability impacts are both rated Low: write access is constrained to paths ending in '.network' and body content is only partially attacker-controlled, limiting how precisely a malicious config can be crafted. No EPSS score is available in the provided data, no POC is known, and the CVE is not in CISA KEV. The 0777 directory creation side-effect is a secondary concern that could create local privilege escalation footholds if directories under sensitive paths are created world-writable. Real-world priority is moderate for organizations running Cloud Foundry or BOSH-managed Ubuntu VMs on shared IaaS tenancy; lower in single-tenant or air-gapped deployments where IaaS metadata is not attacker-reachable.

Exploit ScenarioDerived

An attacker who has compromised the IaaS control plane, or who can perform an SSRF from within the IaaS tenant to the metadata endpoint, crafts a malicious network Alias value containing path traversal sequences (e.g., '../../etc/systemd/network/rogue') and a partially controlled body resembling a legitimate systemd-networkd unit. When the BOSH agent processes this during VM provisioning or network reconfiguration, it writes the file as root to the traversed path, potentially replacing legitimate network configuration or placing rogue config files in locations processed by systemd-networkd, causing network disruption or enabling persistent misconfiguration. The 0777 parent directories created in the process may further allow local unprivileged users to tamper with adjacent files.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 06, 2026

Path traversal in the BOSH agent on Ubuntu allows an attacker positioned to manipulate IaaS metadata to cause the agent to write a root-owned file with partially attacker-controlled content to any filesystem path ending in '.network', while also creating missing parent directories with insecure 0777 permissions. All BOSH agent versions prior to v2.847.0 on Ubuntu jammy (<=v1.1202) and noble (<=v1.364) are affected. No public exploit has been identified and this is not listed in CISA KEV; however, the root-write primitive combined with 0777 directory creation warrants prompt patching in any Cloud Foundry or BOSH-managed deployment.

RemediationAI

Upgrade the BOSH agent to v2.847.0 or later; on Ubuntu jammy, deploy a stemcell newer than v1.1202, and on Ubuntu noble, deploy a stemcell newer than v1.364. The vendor-released patch is confirmed available per the Cloud Foundry advisory at https://www.cloudfoundry.org/blog/cve-2026-41861-arbitrary-root-file-write-via-path-traversal-in-bosh-agent/. If immediate stemcell rotation is not possible, a compensating control is to restrict who can write to or inject values into the IaaS metadata channel for BOSH-managed VMs - on AWS, enforce strict IAM policies preventing unauthorized modification of user-data; on GCP, restrict access to the Compute Engine metadata server via OS-level firewall rules (iptables block of 169.254.169.254 for unprivileged processes). Be aware that blocking metadata access entirely may break BOSH agent bootstrap and other cloud-init dependent functionality, so apply at the IAM/tenant boundary rather than at the VM level.

Affected VersionsENISA

BOSH 0 <2.847.0

Affected Packages

euvd bosh fix: 2.847.0

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

BOSH (BOSH Outer Shell) is the Cloud Foundry foundation's release-engineering and VM lifecycle management system. The BOSH agent runs as a privileged daemon on every BOSH-managed VM, receiving instructions and configuration via the IaaS metadata channel (e.g., AWS user-data, GCP metadata server). The vulnerability arises in the agent's handling of network Alias configuration on Ubuntu, where systemd-networkd '.network' unit files govern interface configuration. CWE-22 (Path Traversal) indicates the agent fails to canonicalize or restrict the destination path when writing these configuration files, permitting directory traversal sequences in an alias value to redirect the write to an arbitrary location - provided the resolved path retains the '.network' suffix. Additionally, any missing parent directories in the traversed path are created with mode 0777, exposing those directories to world-write access. Affected CPE: BOSH agent versions <2.847.0 per EUVD-2026-54219.

Know when the next one hits your stack

  • 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 (vmware) PRIMARY 4.2 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 4.2 MEDIUM

Adjacent vector reflects IaaS-metadata-only exposure; AC:H for the specific tenant-level metadata access required; I:L and A:L because write is path-suffix-constrained with partial body control.

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

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

1
Patch available
Aug 06, 2026 - 23:03 EUVD

DescriptionCVE.org

Path Traversal in BOSH-Ecosystem / BOSH allows an IaaS-metadata attacker to make the agent write a root-owned file with partially attacker-controlled body to any path ending in .network, and create any missing parent directories with mode 0777 via network Alias on Ubuntu.

Affected versions: BOSH agent < v2.847.0 (jammy <= v1.1202, or noble <= v1.364). Lower bound unspecified in advisory ("All bosh agent versions").

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche Cloud Foundry/VMware BOSH-managed infrastructure tooling
Data Quality
6 sources
Confidence: High

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.2%
Patch available Yes
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
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
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