{"id":79270,"date":"2026-06-04T05:56:11","date_gmt":"2026-06-04T02:26:11","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-41011-bosh-os-command-injection\/"},"modified":"2026-06-04T05:56:11","modified_gmt":"2026-06-04T02:26:11","slug":"cve-2026-41011-bosh-os-command-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-41011-bosh-os-command-injection\/","title":{"rendered":"CVE-2026-41011 &#8211; BOSH OS Command Injection"},"content":{"rendered":"<p>CVE ID :CVE-2026-41011<\/p>\n<p>  Published : June 4, 2026, 2:26 a.m. | 6\u00a0minutes ago<\/p>\n<p>  Description :PackagePersister.validate_tgz builds &#8220;tar -tf #{tgz} 2&gt;&amp;1&#8221; where tgz = File.join(release_dir, &#8216;packages&#8217;, &#8220;#{name}.tgz&#8221;) and name = package_meta[&#8216;name&#8217;] comes directly from release.MF inside the uploaded tarball. The string is passed to Bosh::Common::Exec.sh, which executes via %x{} \u2014 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\u201379) the shell-out in save_package_source_blob runs before package.save, so validation fires too late.<\/p>\n<p>Affected versions:<br \/>\n&#8211; BOSH: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later<\/p>\n<p>  Severity: 8.7 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-41011 Published : June 4, 2026, 2:26 a.m. | 6\u00a0minutes ago Description :PackagePersister.validate_tgz builds &#8220;tar -tf #{tgz} 2&gt;&amp;1&#8221; where tgz = File.join(release_dir, &#8216;packages&#8217;, &#8220;#{name}.tgz&#8221;) and name = package_meta[&#8216;name&#8217;] comes directly from release.MF inside the uploaded tarball. The string is passed to Bosh::Common::Exec.sh, which executes via %x{} \u2014 i.e., \/bin\/sh -c. No Shellwords.escape is &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79270","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79270"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79270\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}