CVE-2026-41861 Arbitrary Root File Write via Path Traversal in BOSH agent
An attacker can write arbitrary root-owned files and create directories via path traversal in the BOSH agent, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-41861?
CVE-2026-41861 is a medium-severity path traversal vulnerability in CloudFoundry Foundation BOSH, published on 6 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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").
Weakness: CWE-22
Which versions are affected by CVE-2026-41861?
How do I fix CVE-2026-41861?
No fix has been published for CVE-2026-41861 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-41861 being exploited?
There is no known exploitation of CVE-2026-41861 in the wild and no public exploit code.
Sources
Also known as GHSA-hr6c-84vf-jf53.