Skip to main content
VulnerabilityPublished Updated

CVE-2026-12540: Foreman. A command injection vulnerability exists · OS Command Injection

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-12540· High 8.2

Not known to be exploited · CVSS 8.2 High : patch Red Hat Satellite 6.16 for RHEL 8 soon.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.18.2
EPSS
1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Red Hat Satellite 6.16 for RHEL 8foremanAffected–Fixed in–
Red Hat Satellite 6.16 for RHEL 9foremanAffected–Fixed in–
Red Hat Satellite 6.17 for RHEL 9foremanAffected–Fixed in–
Red Hat Satellite 6.18 for RHEL 9foremanAffected–Fixed in–
Red Hat Satellite 6.19 for RHEL 9foremanAffected–Fixed in–
Red Hat Satellite 6satellite:el8/foremanAffected–Fixed in–

AI-suggested

A security update is available from Red Hat (RHSA-2026:74503) that fixes this vulnerability in Red Hat Satellite 6.19.5. Users should apply this official patch to remediate the issue. Since the vulnerability requires sudo permissions to exploit, restricting such privileges and auditing sudo access can reduce risk until the patch is applied.

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.

References

Community reviews

Loading reviews…