Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 99%

CVE-2026-41009: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Cloud Foundry Foundation BOSH Director

0
Medium
VulnerabilityCVE-2026-41009cvecve-2026-41009cwe-22
Published: Wed May 27 2026 (05/27/2026, 06:45:11 UTC)
Source: CVE Database V5
Vendor/Project: Cloud Foundry Foundation
Product: 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

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/27/2026, 08:19:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses