CVE-2026-41009

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:cloud_foundry:bosh:*:*:*:*:*:*:*:*

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Cuando el director envía una solicitud de larga duración (p. ej., compile_package), el JSON de respuesta del agente es consumido por AgentClient. inject_compile_log (línea 332-339) lee response[’value’][’result’][’compile_log_id’] y format_exception (línea 318-325) lee exception[’blobstore_id’]; ambos pasan la cadena proporcionada por el agente sin modificar a download_and_delete_blob(blob_id) (línea 344-349), que llama a @resource_manager.get_resource(blob_id) y, en un bloque ensure, a @resource_manager.delete_resource(blob_id). API::ResourceManager reenvía el ID directamente a blobstore.get(id) / blobstore.delete(id). Cuando el director está configurado con el proveedor de blobstore local, Blobstore::LocalClient#object_file_path(oid) es File.join(@blobstore_path, oid) (local_client.rb:54-56) sin normalización, por lo que oid = ’.. / .. / jobs/director/config/director.yml’ se resuelve fuera de la raíz del blobstore. Versiones afectadas: BOSH Director: Todas las versiones anteriores a la v282.1.12

Information

Published : 2026-05-27 08:16

Updated : 2026-10-26 11:10


NVD link : CVE-2026-41009

Mitre link : CVE-2026-41009

CVE.ORG link : CVE-2026-41009


JSON object : View

Products Affected

cloud_foundry

  • bosh
CWE
CWE-22

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