{"id":"CVE-2026-41010","aliases":["CVE-2026-41010"],"related":[],"kind":"vulnerability","state":"published","title":"ReleaseJob#unpack builds jobdir = File.join(@releasedir, 'jobs', name) and jobtgz = File.join(@releasedir, 'jobs', \"#{name}.tgz\") where nam…","summary":"ReleaseJob#unpack builds job_dir = File.join(@release_dir, 'jobs', name) and job_tgz = File.join(@release_dir, 'jobs', \"#{name}.tgz\") where name returns @job_meta['name'], 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(\"tar -C #{job_dir} -xf #{job_tgz} 2>&1\", :on_error => :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.\n\nAffected versions:\n- BOSH Director: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ReleaseJob#unpack builds job_dir = File.join(@release_dir, 'jobs', name) and job_tgz = File.join(@release_dir, 'jobs', \"#{name}.tgz\") where name returns @job_meta['name'], 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(\"tar -C #{job_dir} -xf #{job_tgz} 2>&1\", :on_error => :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.\n\nAffected versions:\n- BOSH Director: all versions prior to v282.1.12 (inclusive); fixed in v282.1.12 or later","source":"cvelist"},{"lang":"es","text":"'ReleaseJob#unpack' construye 'job_dir = File.join(@release_dir,  jobs , name)' y 'job_tgz = File.join(@release_dir,  jobs , \"#{name}.tgz\")' donde 'name' devuelve '@job_meta[ name ]', un valor tomado textualmente del array 'jobs:' del 'release.MF' proporcionado por el atacante dentro del 'tarball' subido. Estas rutas se interpolan luego en una cadena de shell: 'Bosh::Common::Exec.sh(\"tar -C #{job_dir} -xf #{job_tgz} 2 &1\", :on_error =  :return)'. 'Bosh::Common::Exec.sh' se ejecuta a través de '%x{#{command}}' ('bosh-common/lib/bosh/common/exec.rb:53'), es decir, '/bin/sh -c', por lo que cualquier metacaracter de shell en 'name' es interpretado. 'FileUtils.mkdir_p(job_dir)' en la línea 49 crea el directorio literal (sin shell) y tiene éxito incluso cuando 'name' contiene '$()/;', por lo que la ejecución llega a la llamada 'sh'.\n\nVersiones afectadas:\n- BOSH Director: todas las versiones anteriores a la v282.1.12 (inclusive); corregido en la v282.1.12 o posterior","source":"nvd"}],"published":"2026-06-04T02:27:26.690Z","modified":"2026-07-22T20:10:00.127Z","severity":{"scorer":"vmware","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"vmware","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"282.1.12","status":"affected"}],"vendor":"Cloud Foundry Foundation","product":"BOSH Director","source":"cvelist"}],"references":[{"url":"https://www.cloudfoundry.org/blog/cve-2026-41010-release-job-name-command-injection-on-bosh-director/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-04T12:49:14.507Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41010","url":"https://www.cve.org/CVERecord?id=CVE-2026-41010","licence":"CVE Terms of Use","modified":"2026-06-04T12:49:27.773Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41010","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41010","licence":"Public domain","modified":"2026-07-22T20:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:23.679Z","epss":{"score":0.00122,"percentile":0.02185,"date":"2026-12-01T12:00:22.000Z"}}