CVE-2026-41861

Arbitrary Root File Write via Path Traversal in BOSH agent

Published Aug 6, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
Description
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").

Analysis

AI-generated

Technical impact

The vulnerability is a path traversal flaw in the BOSH agent that lets an attacker with access to the IaaS‑metadata service write a file to any root‑owned location whose name ends in .network. Because the agent creates missing parent directories with mode 0777, the attacker can also create privileged directories. The flaw can be used to place malicious configuration files or binaries at arbitrary paths, effectively granting root‑level write access and the ability to modify system behaviour. The weakness is cataloged as CWE‑22.

Affected Systems

All versions of the BOSH agent before 2.847.0, as well as the Ubuntu 22.04 LTS (jammy) up to version 1.1202 and the Ubuntu 24.04 LTS (noble) up to version 1.364, are vulnerable. The advisory does not specify a lower bound, implying that every released version before the mentioned thresholds may be affected. The vendor responsible for this component is the CloudFoundry Foundation.

Risk and Exploitability

The CVSS score of 4.2 places the flaw in the medium severity range, and the EPSS score is currently unavailable. The vulnerability is not listed in the CISA KEV catalog. Exploitation is likely possible from an IaaS‑metadata context, which may be remote from the host but requires the attacker to be able to send a specially crafted Alias request to the BOSH agent. The affected configuration is the Unix filesystem and the agent service running on Ubuntu containers or VMs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the BOSH agent to version 2.847.0 or newer (or to 1.1202/1.364 for older Ubuntu releases).
  • If an upgrade is not immediately possible, harden the metadata service by restricting network access to the BOSH agent so that only trusted hosts can issue Alias requests.
  • Verify that the file system permissions on the directories used by BOSH (especially /tmp or the agent data directory) are set to the least privileged mode and not world‑writable.

Generated by OpenCVE AI on August 7, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cloud Foundry
Cloud Foundry bosh
Vendors & Products Cloud Foundry
Cloud Foundry bosh
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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").
Title Arbitrary Root File Write via Path Traversal in BOSH agent
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 7, 2026, 1:09 AM
Reserved
Apr 22, 2026, 6:22 AM
Status
Awaiting Analysis
Published
Aug 6, 2026, 10:17 PM
Modified
Oct 23, 2026, 10:10 PM