{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-41011 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-41011 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-41011 is a high-severity command injection vulnerability in Cloud Foundry Foundation BOSH, published on 4 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41011 and fix it if it is affected.\n\nWhat it is: CVE-2026-41011 is a high-severity command injection vulnerability in Cloud Foundry Foundation BOSH, published on 4 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41011 in the wild and no public exploit code.\n\nAffected product: Cloud Foundry Foundation BOSH. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41011/ (Markdown: https://insights.sbomify.com/CVE-2026-41011/index.md)","id":"CVE-2026-41011","markdown":"https://insights.sbomify.com/CVE-2026-41011/index.md","name":"CVE-2026-41011","record":{"aliases":["GHSA-96vc-39m3-22w5"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"BOSH release manager","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary commands on BOSH servers by uploading a malicious tarball with a crafted package name before validation occurs.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"PackagePersister.validate_tgz builds \"tar -tf #{tgz} 2\u003e\u00261\" where tgz = File.join(release_dir, 'packages', \"#{name}.tgz\") and name = package_meta['name'] comes directly from release.MF inside the uploaded tarball. The string is passed to Bosh::Common::Exec.sh, which executes via %x{} — i.e., /bin/sh -c. No Shellwords.escape is applied. The Models::Package Sequel validation (VALID_ID = /^[-0-9A-Za-z_+.]+$/i) would reject the name, but in create_package (lines 74–79) the shell-out in save_package_source_blob runs before package.save, so validation fires too late.\n\nAffected versions:\n- BOSH: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in BOSH","id":"CVE-2026-41011","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"BOSH vSphere CPI Improper Cert Validation","id":"CVE-2026-41012"},"packages":[],"prev":{"headline":"Command injection in BOSH Director","id":"CVE-2026-41010"},"products":["BOSH"],"published":"2026-06-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-04","vendors":["Cloud Foundry Foundation"]},"summary":"Attackers can execute arbitrary commands on BOSH servers by uploading a malicious tarball with a crafted package name before validation occurs.","url":"https://insights.sbomify.com/CVE-2026-41011/"}