CVE-2026-41011: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Cloud Foundry Foundation BOSH
CVE-2026-41011 is an OS command injection vulnerability in Cloud Foundry Foundation's BOSH prior to version v282. 1. 12. It arises because a package name extracted from an uploaded tarball is used unsafely in a shell command without proper escaping, allowing potential injection. Although a validation regex exists to restrict package names, it is applied too late, after the vulnerable shell command execution. This vulnerability has a high severity score of 8. 7 and affects all versions before v282. 1. 12 inclusive. No official patch or remediation level is explicitly confirmed in the available data.
AI Analysis
Technical Summary
The vulnerability occurs in the PackagePersister.validate_tgz method of BOSH, where a shell command is constructed using a package name derived from release.MF inside an uploaded tarball. The command string "tar -tf #{tgz} 2>&1" is executed via /bin/sh without applying Shellwords.escape or equivalent sanitization. Although a validation regex (VALID_ID) exists to restrict package names to a safe pattern, this validation is performed after the shell command execution in create_package, allowing malicious input to reach the shell command and potentially execute arbitrary OS commands. This affects all BOSH versions prior to v282.1.12, which contains the fix.
Potential Impact
Successful exploitation could allow an attacker with appropriate privileges to execute arbitrary OS commands on the system running BOSH by injecting malicious input into the package name field. This could lead to system compromise or unauthorized actions. The CVSS 4.0 score of 8.7 reflects high impact with local attack vector, high complexity, and required privileges. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
A fix is available in BOSH version v282.1.12 and later. Users should upgrade to this version or newer to remediate the vulnerability. Since no other remediation level or temporary fix is indicated, upgrading is the recommended action. Patch status is confirmed by the version information in the description. Until upgraded, avoid processing untrusted tarballs or package uploads that could contain malicious package names.
CVE-2026-41011: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Cloud Foundry Foundation BOSH
Description
CVE-2026-41011 is an OS command injection vulnerability in Cloud Foundry Foundation's BOSH prior to version v282. 1. 12. It arises because a package name extracted from an uploaded tarball is used unsafely in a shell command without proper escaping, allowing potential injection. Although a validation regex exists to restrict package names, it is applied too late, after the vulnerable shell command execution. This vulnerability has a high severity score of 8. 7 and affects all versions before v282. 1. 12 inclusive. No official patch or remediation level is explicitly confirmed in the available data.
CVSS v4.0
Score 8.7high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability occurs in the PackagePersister.validate_tgz method of BOSH, where a shell command is constructed using a package name derived from release.MF inside an uploaded tarball. The command string "tar -tf #{tgz} 2>&1" is executed via /bin/sh without applying Shellwords.escape or equivalent sanitization. Although a validation regex (VALID_ID) exists to restrict package names to a safe pattern, this validation is performed after the shell command execution in create_package, allowing malicious input to reach the shell command and potentially execute arbitrary OS commands. This affects all BOSH versions prior to v282.1.12, which contains the fix.
Potential Impact
Successful exploitation could allow an attacker with appropriate privileges to execute arbitrary OS commands on the system running BOSH by injecting malicious input into the package name field. This could lead to system compromise or unauthorized actions. The CVSS 4.0 score of 8.7 reflects high impact with local attack vector, high complexity, and required privileges. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
A fix is available in BOSH version v282.1.12 and later. Users should upgrade to this version or newer to remediate the vulnerability. Since no other remediation level or temporary fix is indicated, upgrading is the recommended action. Patch status is confirmed by the version information in the description. Until upgraded, avoid processing untrusted tarballs or package uploads that could contain malicious package names.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:16.427Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a20e3ffe29bf47b504cab97
Added to database: 6/4/2026, 2:33:35 AM
Last enriched: 6/4/2026, 2:48:35 AM
Last updated: 6/4/2026, 3:35:09 AM
Views: 8
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.