cvelo
P2 · HighCVSS 8.2

CVE-2026-12540

  • CVE-2026-12540
  • GHSA-c5q9-9fc7-jgxp
  • EUVD-2026-90916

Description

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.

Text from the NVD record.

Affected

  • redhat satellite

    • from 6.16 to before 6.16.4
    • from 6.17 to before 6.17.12
    • from 6.19 to before 6.19.5
    • from 6.18 to before 6.18.10
    • 6.0
  • theforeman foreman

    • all versions

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.