CVE-2026-41009: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cloud Foundry Foundation BOSH Director
When the director sends a long-running request (e.g. compile_package), the agent's reply JSON is consumed by AgentClient. inject_compile_log (line 332-339) reads response['value']['result']['compile_log_id'] and format_exception (line 318-325) reads exception['blobstore_id']; both pass the agent-supplied string unmodified to download_and_delete_blob(blob_id) (line 344-349), which calls @resource_manager.get_resource(blob_id) and, in an ensure block, @resource_manager.delete_resource(blob_id). Api::ResourceManager forwards the id straight to blobstore.get(id) / blobstore.delete(id). When the director is configured with the local blobstore provider, Blobstore::LocalClient#object_file_path(oid) is File.join(@blobstore_path, oid) (local_client.rb:54-56) with no normalisation, so oid = "../../jobs/director/config/director.yml" resolves outside the blobstore root. Affected versions: BOSH Director: All versions prior to v282.1.12
AI Analysis
Technical Summary
The vulnerability occurs in BOSH Director when handling long-running requests such as compile_package. The agent's JSON reply includes blob IDs that are passed without path normalization to the local blobstore client. Specifically, Blobstore::LocalClient constructs file paths by joining the blobstore root path with the blob ID directly, allowing a crafted blob ID containing path traversal sequences (e.g., "../../jobs/director/config/director.yml") to access files outside the blobstore directory. This improper limitation of pathname to a restricted directory (CWE-22) can lead to unauthorized file access or deletion. The issue affects all BOSH Director versions before v282.1.12. The CVSS 4.3 vector indicates local attack vector, high attack complexity, partial privileges required, and partial user interaction.
Potential Impact
An attacker with high privileges and the ability to interact with the director can exploit this vulnerability to read or delete arbitrary files on the system where the local blobstore is configured. This could lead to unauthorized disclosure or modification of sensitive configuration files, potentially impacting system integrity and availability. The vulnerability does not affect cloud-hosted services and requires local access with elevated privileges.
Mitigation Recommendations
No official patch or remediation level has been published by the vendor as of the current information. Users should monitor the Cloud Foundry Foundation advisories for updates and apply the official fix once available. Until then, restrict access to the BOSH Director and its local blobstore to trusted administrators only. Avoid using the local blobstore provider if possible or implement additional path normalization checks as a temporary mitigation. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-41009: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cloud Foundry Foundation BOSH Director
Description
When the director sends a long-running request (e.g. compile_package), the agent's reply JSON is consumed by AgentClient. inject_compile_log (line 332-339) reads response['value']['result']['compile_log_id'] and format_exception (line 318-325) reads exception['blobstore_id']; both pass the agent-supplied string unmodified to download_and_delete_blob(blob_id) (line 344-349), which calls @resource_manager.get_resource(blob_id) and, in an ensure block, @resource_manager.delete_resource(blob_id). Api::ResourceManager forwards the id straight to blobstore.get(id) / blobstore.delete(id). When the director is configured with the local blobstore provider, Blobstore::LocalClient#object_file_path(oid) is File.join(@blobstore_path, oid) (local_client.rb:54-56) with no normalisation, so oid = "../../jobs/director/config/director.yml" resolves outside the blobstore root. Affected versions: BOSH Director: All versions prior to v282.1.12
CVSS v4.0
Score 4.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability occurs in BOSH Director when handling long-running requests such as compile_package. The agent's JSON reply includes blob IDs that are passed without path normalization to the local blobstore client. Specifically, Blobstore::LocalClient constructs file paths by joining the blobstore root path with the blob ID directly, allowing a crafted blob ID containing path traversal sequences (e.g., "../../jobs/director/config/director.yml") to access files outside the blobstore directory. This improper limitation of pathname to a restricted directory (CWE-22) can lead to unauthorized file access or deletion. The issue affects all BOSH Director versions before v282.1.12. The CVSS 4.3 vector indicates local attack vector, high attack complexity, partial privileges required, and partial user interaction.
Potential Impact
An attacker with high privileges and the ability to interact with the director can exploit this vulnerability to read or delete arbitrary files on the system where the local blobstore is configured. This could lead to unauthorized disclosure or modification of sensitive configuration files, potentially impacting system integrity and availability. The vulnerability does not affect cloud-hosted services and requires local access with elevated privileges.
Mitigation Recommendations
No official patch or remediation level has been published by the vendor as of the current information. Users should monitor the Cloud Foundry Foundation advisories for updates and apply the official fix once available. Until then, restrict access to the BOSH Director and its local blobstore to trusted administrators only. Avoid using the local blobstore provider if possible or implement additional path normalization checks as a temporary mitigation. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:16.426Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a16a55fe29bf47b50a6429d
Added to database: 5/27/2026, 8:03:43 AM
Last enriched: 5/27/2026, 8:19:27 AM
Last updated: 5/29/2026, 1:27:49 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.