# CVE-2026-41009: Cloud Foundry BOSH Director path traversal in local blobstore

Source: https://junglewise.ai/threats/cve-2026-41009-cloud-foundry-bosh-director-path-traversal-in-local-blobstore  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-05-27  
License: CC BY 4.0 with a link back

CVE-2026-41009 · Severity: medium · CVSS 5.8 · Published 2026-05-27

BOSH Director, a tool used for deploying and managing cloud software, contains a vulnerability that could allow an attacker to read or delete sensitive files on the management server. By manipulating responses from a managed virtual machine, an attacker can trick the system into accessing files outside of its intended storage area. This could lead to the theft of configuration secrets or cause the management system to become inoperable.

Technologies: [Cloud Foundry Foundation BOSH Director](https://junglewise.ai/threats/technologies/bosh-director). Vendors: [Cloud Foundry Foundation](https://junglewise.ai/threats/vendors/cloud-foundry-foundation).

## Quick answers

**Is CVE-2026-41009 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-41009 being exploited in the wild.

**How severe is CVE-2026-41009?** Medium severity, with a CVSS score of 5.8, published 27 May 2026.

**Which products and versions are affected?** Cloud Foundry Foundation BOSH Director All versions prior to v282.1.12.

**Is there a fix for CVE-2026-41009?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-41009 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-41009?** Check whether you run Cloud Foundry Foundation BOSH Director at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A path traversal vulnerability exists in BOSH Director's AgentClient when configured with a local blobstore provider. The 'inject_compile_log' and 'format_exception' functions consume agent-supplied JSON strings (compile_log_id or blobstore_id) and pass them unmodified to 'download_and_delete_blob'. Because 'Blobstore::LocalClient#object_file_path' uses 'File.join' without path normalization, an attacker who can control a BOSH agent's responses (e.g., via root access on a managed VM or NATS message injection) can provide a relative path like '../../' to escape the blobstore root. This allows the attacker to exfiltrate files by including them in task logs and subsequently delete them from the Director's filesystem.

## Affected products

- Cloud Foundry Foundation BOSH Director All versions prior to v282.1.12

## Timeline

- 2026-05-26: advisory: Cloud Foundry Foundation published the security advisory.
- 2026-05-27: disclosed: CVE-2026-41009 published to the NVD.

## References

- [https://www.cloudfoundry.org/blog/cve-2026-41009-local-blobstore-may-allow-arbitrary-reads-deletes/](https://www.cloudfoundry.org/blog/cve-2026-41009-local-blobstore-may-allow-arbitrary-reads-deletes/)

## Related threats

- [Cloud Foundry BOSH Director command injection in ReleaseJob unpack](https://junglewise.ai/threats/cve-2026-41010-cloud-foundry-bosh-director-command-injection-in-releasejob)
- [Cloud Foundry BOSH Director improper access control in AgentClient](https://junglewise.ai/threats/cve-2026-41704-cloud-foundry-bosh-director-improper-access-control-in)
