{"id":15501,"date":"2026-09-04T19:04:18","date_gmt":"2026-09-04T11:04:18","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-41010"},"modified":"2026-09-04T19:04:18","modified_gmt":"2026-09-04T11:04:18","slug":"cve-2026-41010","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-41010","title":{"rendered":"CVE-2026-41010 [HIGH] &#8211; ReleaseJob#unpack builds job_dir = File.join(@release_dir, &#8216;jobs&#8217;, name) and job_tgz = Fil"},"content":{"rendered":"<p>ReleaseJob#unpack builds job_dir = File.join(@release_dir, &#8216;jobs&#8217;, name) and job_tgz = File.join(@release_dir, &#8216;jobs&#8217;, &#8220;#{name}.tgz&#8221;) where name returns @job_meta[&#8216;name&#8217;], a value taken verbatim from the jobs: array of the attacker-supplied release.MF inside the uploaded tarball. These paths are then interpolated into a shell string: Bosh::Common::Exec.sh(&#8220;tar -C #{job_dir} -xf #{job_tgz} 2&gt;&amp;1&#8221;, :on_error =&gt; :return). Bosh::Common::Exec.sh executes via %x{#{command}} (bosh-common\/lib\/bosh\/common\/exec.rb:53), i.e. \/bin\/sh -c, so any shell metacharacters in name are interpreted. FileUtils.mkdir_p(job_dir) on line 49 creates the literal directory (no shell) and succeeds even when the name contains $()\/;, so execution reaches the sh call.<\/p>\n<p>Affected versions:<br \/>\n&#8211; BOSH Director: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ReleaseJob#unpack builds job_dir = File.join(@release_dir, &#8216;jobs&#8217;, name) and job_tgz = File.join(@release_dir, &#8216;jobs&#8217;, &#8220;#{name}.tgz&#8221;) where name returns @job_meta[&#8216;name&#8217;], a value taken verbatim from <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15501","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}