Skip to content
Fencer Intel
medium 5.3

CVE-2026-12542 json

Foreman: command injection in foreman-tail

published last mo. modified 9h ago also EUVD-2026-90969

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.

Patch / fix

  • Red Hat Red Hat Satellite 6.16 for RHEL 8 0:3.12.0.23-1.el8sat
  • Red Hat Red Hat Satellite 6.16 for RHEL 9 0:3.12.0.23-1.el9sat
  • Red Hat Red Hat Satellite 6.17 for RHEL 9 0:3.14.0.22-1.el9sat
  • Red Hat Red Hat Satellite 6.18 for RHEL 9 0:3.16.0.25-1.el9sat
  • Red Hat Red Hat Satellite 6.19 for RHEL 9 0:3.18.0.14-1.el9sat
  • foreman satellite utils 6.17, satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • satellite satellite utils 6.17, satellite capsule 6.17, satellite 6.17 6.17.12-1.el9sat
  • foreman-cli satellite utils 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • foreman-ec2 satellite 6.17 3.14.0.22-1.el9sat
  • foreman-pcp satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • python-lxml satellite capsule 6.17, satellite 6.17 5.3.1-2.el9pc
  • foreman-ovirt satellite 6.17 3.14.0.22-1.el9sat
  • foreman-redis satellite 6.17 3.14.0.22-1.el9sat

red hat advisories RHSA-2026:74505RHSA-2026:74504RHSA-2026:74506RHSA-2026:74503

Is CVE-2026-12542 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-12542 updated cvss 5.3

foreman: command injection in foreman-tail

  • Red Hat Satellite 6 foreman, foreman-cli, foreman-ec2, foreman-gce, foreman-ovirt, foreman-vmware, +9 more
    affected: workaround, no fix available “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Satellite 6.16 for RHEL 8 foreman 3.12.0.23-1.el8sat, foreman-cli 3.12.0.23-1.el8sat, foreman-ec2 3.12.0.23-1.el8sat, foreman-pcp 3.12.0.23-1.el8sat, foreman-ovirt 3.12.0.23-1.el8sat, foreman-redis 3.12.0.23-1.el8sat, +8 more Red Hat Satellite 6.16 for RHEL 9 foreman 3.12.0.23-1.el9sat, foreman-cli 3.12.0.23-1.el9sat, foreman-ec2 3.12.0.23-1.el9sat, foreman-pcp 3.12.0.23-1.el9sat, foreman-ovirt 3.12.0.23-1.el9sat, foreman-redis 3.12.0.23-1.el9sat, +8 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74506
  • Red Hat Satellite 6.17 for RHEL 9 foreman 3.14.0.22-1.el9sat, foreman-cli 3.14.0.22-1.el9sat, foreman-ec2 3.14.0.22-1.el9sat, foreman-pcp 3.14.0.22-1.el9sat, foreman-ovirt 3.14.0.22-1.el9sat, foreman-redis 3.14.0.22-1.el9sat, +8 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74505
  • Red Hat Satellite 6.18 for RHEL 9 foreman 3.16.0.25-1.el9sat, foreman-cli 3.16.0.25-1.el9sat, foreman-ec2 3.16.0.25-1.el9sat, foreman-pcp 3.16.0.25-1.el9sat, foreman-redis 3.16.0.25-1.el9sat, foreman-vmware 3.16.0.25-1.el9sat, +7 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74504
  • Red Hat Satellite 6.19 for RHEL 9 foreman 3.18.0.14-1.el9sat, foreman-cli 3.18.0.14-1.el9sat, foreman-ec2 3.18.0.14-1.el9sat, foreman-pcp 3.18.0.14-1.el9sat, foreman-redis 3.18.0.14-1.el9sat, foreman-vmware 3.18.0.14-1.el9sat, +7 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74503
  • Red Hat Satellite 6.16 for RHEL 8 python-lxml 4.9.2-5.el8pc, satellite 6.16.14-1.el8sat, python-sqlparse 0.6.0-1.el8pc, python3.11-lxml 4.9.2-5.el8pc, python-dynaconf 3.2.13-1.el8pc, satellite-cli 6.16.14-1.el8sat, +14 more Red Hat Satellite 6.16 for RHEL 9 python-lxml 4.9.2-5.el9pc, satellite 6.16.14-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 4.9.2-5.el9pc, python-dynaconf 3.2.13-1.el9pc, satellite-cli 6.16.14-1.el9sat, +14 more Red Hat Satellite 6.17 for RHEL 9 python-lxml 5.3.1-2.el9pc, satellite 6.17.12-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 5.3.1-2.el9pc, python-dynaconf 3.2.13-1.el9pc, satellite-cli 6.17.12-1.el9sat, +13 more Red Hat Satellite 6.18 for RHEL 9 satellite 6.18.10-1.el9sat, satellite-cli 6.18.10-1.el9sat, rubygem-safemode 1.5.0-2.el9sat, python3.12-sqlparse 0.6.0-1.el9pc, satellite-common 6.18.10-1.el9sat, python3.12-dynaconf 3.2.13-2.el9pc, +9 more Red Hat Satellite 6.19 for RHEL 9 satellite 6.19.5-1.el9sat, satellite-cli 6.19.5-1.el9sat, rubygem-safemode 1.5.0-2.el9sat, satellite-common 6.19.5-1.el9sat, python3.12-sqlparse 0.6.0-1.el9pc, satellite-capsule 6.19.5-1.el9sat, +11 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last mo.

Exploit prediction

0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • 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 for RHEL 9
  • Red Hat Red Hat Satellite 6.19 for RHEL 9
  • Red Hat Red Hat Satellite 6

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.