8.2Alta

CVE-2026-12540Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter

Red Hat Red Hat Satellite 6.16 for RHEL 8; Red Hat Red Hat Satellite 6.16 for RHEL 9; Red Hat Red Hat Satellite 6.17 for RHEL 9; Red Hat Red Hat Satellite 6.18… Publicada: (hace 1 mes)

Descripción

A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Debilidad (CWE): CWE-78

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Red Hat Red Hat Satellite 6 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 8 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.19 for RHEL 9 all versions
redhat satellite 6.16 – < 6.16.4
satellite 6.16 —
satellite 6.17 —
satellite 6.18 —
satellite 6.19 —
satellite capsule 6.16 —
satellite capsule 6.17 —
satellite capsule 6.18 —
satellite capsule 6.19 —
satellite utils 6.16 —
satellite utils 6.17 —
satellite utils 6.18 —
satellite utils 6.19 —
theforeman foreman —

Referencias y parches

Coincidencias CPE (NVD) (6)

  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.16 < 6.16.4
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.17 < 6.17.12
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.19 < 6.19.5
  • cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.18 < 6.18.10
  • cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*