CVE-2026-41009

Severity CVSS v4.0:
MEDIUM
Type:
CWE-22 Path Traversal
Publication date:
27/05/2026
Last modified:
08/06/2026

Description

When the director sends a long-running request (e.g. compile_package), the agent&amp;#39;s reply JSON is consumed by AgentClient. inject_compile_log (line 332-339) reads response[&amp;#39;value&amp;#39;][&amp;#39;result&amp;#39;][&amp;#39;compile_log_id&amp;#39;] and format_exception (line 318-325) reads exception[&amp;#39;blobstore_id&amp;#39;]; 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.<br /> <br /> Affected versions:<br /> BOSH Director: All versions prior to v282.1.12

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:cloud_foundry:bosh:*:*:*:*:*:*:*:* 282.1.12 (excluding)